1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/spl/tests/spl_classes.phpt
Sebastian Schürmann 82be89d366 - fixes to tests
- spl_classes only checks  for is_array(), the output in 5_3_0 and 5_2_0 is very different,
test will run this way in 5.2 and 5.3 w.o. problems
- call user method recognizes the different errormessage in 5_2_0 now
- the php_sap_name_variation001 check now goes for cgi instead of the cgi-fcgi output string
2009-04-26 23:54:12 +00:00

14 lines
181 B
PHP

--TEST--
SPL: spl_classes() function
--CREDITS--
Sebastian Schürmann
sebs@php.net
Testfest 2009 Munich
--FILE--
<?php
var_dump(is_array(spl_classes()));
?>
--EXPECT--
bool(true)