moriyoshi               Fri Nov  8 12:46:29 2002 EDT

  Added files:                 
    /php4/tests/lang    bug19566.phpt 
  Log:
  Added a test for bug #19566
  
  

Index: php4/tests/lang/bug19566.phpt
+++ php4/tests/lang/bug19566.phpt
--TEST--
Bug #19566 (get_declared_classes() segfaults)
--FILE--
<?php
class foo {}
$result = get_declared_classes();
var_dump(array_search('foo', $result));
?>
--EXPECTF--
int(%d)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to