mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
The extension name should match the name of the ext/ directory, otherwise it will not get picked up by run-tests. It would be possible to remap this in run-tests, but I think it's better to rename the extension to follow the standard format. Other extensions also use underscore instead of hyphen (e.g. pdo_mysql and not pdo-mysql). Of course, the ./configure option remains hyphenated. Closes GH-6613.
15 lines
257 B
PHP
15 lines
257 B
PHP
--TEST--
|
|
Internal static methods should not be confused with global functions
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('zend_test')) die('skip requires zend_test');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(is_bool(_ZendTestClass::is_object()));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|