mirror of
https://github.com/php/php-src.git
synced 2026-04-30 03:33:17 +02:00
6426420f61
* PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests
16 lines
198 B
PHP
16 lines
198 B
PHP
--TEST--
|
|
FileInfo - Calling the constructor twice
|
|
--SKIPIF--
|
|
<?php require_once(__DIR__ . '/skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = new finfo;
|
|
$x->__construct();
|
|
|
|
echo "done!\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
done!
|