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