]> granicus.if.org Git - php/commitdiff
- Fix tests (apparently whoever wrote this crap never tested these properly)
authorJani Taskinen <jani@php.net>
Tue, 9 Dec 2008 15:44:09 +0000 (15:44 +0000)
committerJani Taskinen <jani@php.net>
Tue, 9 Dec 2008 15:44:09 +0000 (15:44 +0000)
tests/lang/short_tags.002.phpt
tests/lang/short_tags.003.phpt

index 6f0da684ecca4b47b41e93c22e17fa71ffdd9e8c..e31d05e90ebc73c8267aca6baf5222e62e33a2c9 100644 (file)
@@ -1,12 +1,14 @@
 --TEST--
 short tags
 --INI--
-short_tags=off
+short_open_tag=off
 --FILE--
 <?
 echo "Used a short tag\n";
 ?>
 Finished
 --EXPECT--
-Used a short tag
+<?
+echo "Used a short tag\n";
+?>
 Finished
index 64f97bcc29dfe535228d4f71aeab1c550d32e06e..558c8cd1d06d2c058dc71726ad1508c90574023a 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 tags
 --INI--
-short_open_tags=on
+short_open_tag=on
 asp_tags=on
 --FILE--
 <?='this should get echoed'?>