php-src/tests/lang/bug19566.phpt
2002-11-08 17:46:29 +00:00

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)