mirror of
https://github.com/php/php-src.git
synced 2024-12-01 22:03:36 +08:00
11 lines
180 B
PHP
11 lines
180 B
PHP
--TEST--
|
|
Bug #19566 (get_declared_classes() segfaults)
|
|
--FILE--
|
|
<?php
|
|
class foo {}
|
|
$result = get_declared_classes();
|
|
var_dump(array_search('foo', $result));
|
|
?>
|
|
--EXPECTF--
|
|
int(%d)
|