mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
315f4f5658
Took the old PHP 3 regression testing framework and rewrote it in PHP. Should work on both Windows and UNIX, however I have not tested it on Windows. See tests/README for how to write tests. Added the PHP 3 tests and converted most of them.
14 lines
143 B
PHP
14 lines
143 B
PHP
--TEST--
|
|
Simple If/Else Test
|
|
--POST--
|
|
--GET--
|
|
--FILE--
|
|
<?php $a=1;
|
|
if($a==0):
|
|
echo "bad";
|
|
else:
|
|
echo "good";
|
|
endif?>
|
|
--EXPECT--
|
|
good
|