Re: bug51709_2.phpt - remove the slash from the --EXPECTF-- section?
| From: | Patrick ALLAERT | Date: | Thu, 28 Oct 2010 18:10:26 +0000 |
| Subject: | Re: bug51709_2.phpt - remove the slash from the --EXPECTF-- section? | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65658@lists.php.net to get a copy of this message | ||
Hi,
2010/10/28 eyal.t <eyal.t@zend.com>:
> Hi,
>
> php-5.3.3/tests/basic/bug51709_2.phpt contains the following --EXPECTF--
> section:
>
> --EXPECTF--
> Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in
> %s/bug51709_2.php on line %d
>
> shouldn't the slash be removed, as to allow the test to pass on windows?:
>
> --EXPECTF--
> Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in
> %sbug51709_2.php on line %d
>
> thx,
> Eyal
It looks like a valid solution to make it pass under windows too.
Attached a patch which solves this issue in different places.
Anyone against I commit this?
Regards,
--
Patrick Allaert
---
http://code.google.com/p/peclapm/ - Alternative PHP
Monitor
Index: trunk/ext/standard/tests/file/copy_variation12.phpt =================================================================== --- trunk/ext/standard/tests/file/copy_variation12.phpt (revision 304977) +++ trunk/ext/standard/tests/file/copy_variation12.phpt (working copy) @@ -41,11 +41,11 @@ --EXPECTF-- *** Test copy() function: Trying to create a copy of an existing dir *** -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation12.php on line %d bool(false) bool(false) int(%d) -Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d +Warning: filesize(): stat failed for %scopy_copy_variation12 in %scopy_variation12.php on line %d bool(false) *** Done *** Index: trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt =================================================================== --- trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt (revision 304977) +++ trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt (working copy) @@ -16,8 +16,8 @@ unlink($unreadable); ?> --EXPECTF-- -exception 'Exception' with message 'Unable to open database: %s' in %s/sqlite3_15_open_error.php:%d +exception 'Exception' with message 'Unable to open database: %s' in %ssqlite3_15_open_error.php:%d Stack trace: -#0 %s/sqlite3_15_open_error.php(%d): SQLite3->__construct('%s') +#0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s') #1 {main} Done Index: trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt =================================================================== --- trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (revision 304977) +++ trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (working copy) @@ -44,7 +44,7 @@ string(10) "69636f6e76" string(2) "0a" -Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %s/iconv_stream_filter_delimiter.php on line %d +Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %siconv_stream_filter_delimiter.php on line %d string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" Index: trunk/ext/mbstring/tests/bug43301.phpt =================================================================== --- trunk/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ trunk/ext/mbstring/tests/bug43301.phpt (working copy) @@ -15,7 +15,7 @@ ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: trunk/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- trunk/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ trunk/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) -Done \ No newline at end of file +Done Index: trunk/tests/basic/bug51709_1.phpt =================================================================== --- trunk/tests/basic/bug51709_1.phpt (revision 304977) +++ trunk/tests/basic/bug51709_1.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %s/bug51709_1.php on line %d +Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d Index: trunk/tests/basic/bug51709_2.phpt =================================================================== --- trunk/tests/basic/bug51709_2.phpt (revision 304977) +++ trunk/tests/basic/bug51709_2.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %s/bug51709_2.php on line %d +Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d Index: branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt =================================================================== --- branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt (working copy) @@ -14,7 +14,7 @@ echo mb_ereg_replace($ptr,'$1',$txt,'e'); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) Done \ No newline at end of file Index: branches/PHP_5_2/ext/reflection/tests/bug42976.phpt =================================================================== --- branches/PHP_5_2/ext/reflection/tests/bug42976.phpt (revision 304977) +++ branches/PHP_5_2/ext/reflection/tests/bug42976.phpt (working copy) @@ -26,9 +26,9 @@ --EXPECTF-- string(9) "x.changed" -Warning: Invocation of C's constructor failed in %s/bug42976.php on line %d +Warning: Invocation of C's constructor failed in %sbug42976.php on line %d string(10) "x.original" -Warning: Invocation of C's constructor failed in %s/bug42976.php on line %d +Warning: Invocation of C's constructor failed in %sbug42976.php on line %d string(10) "x.original" Done Index: branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt =================================================================== --- branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt (revision 304977) +++ branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt (working copy) @@ -41,11 +41,11 @@ --EXPECTF-- *** Test copy() function: Trying to create a copy of an existing dir *** -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation12.php on line %d bool(false) bool(false) int(%d) -Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d +Warning: filesize(): stat failed for %scopy_copy_variation12 in %scopy_variation12.php on line %d bool(false) *** Done *** Index: branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt =================================================================== --- branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt (revision 304977) +++ branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt (working copy) @@ -16,8 +16,8 @@ unlink($unreadable); ?> --EXPECTF-- -exception 'Exception' with message 'Unable to open database: %s' in %s/sqlite3_15_open_error.php:%d +exception 'Exception' with message 'Unable to open database: %s' in %ssqlite3_15_open_error.php:%d Stack trace: -#0 %s/sqlite3_15_open_error.php(%d): SQLite3->__construct('%s') +#0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s') #1 {main} Done Index: branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt =================================================================== --- branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (revision 304977) +++ branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (working copy) @@ -44,7 +44,7 @@ string(10) "69636f6e76" string(2) "0a" -Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %s/iconv_stream_filter_delimiter.php on line %d +Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %siconv_stream_filter_delimiter.php on line %d string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" Index: branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt =================================================================== --- branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt (working copy) @@ -15,7 +15,7 @@ ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) -Done \ No newline at end of file +Done Index: branches/PHP_5_3/tests/basic/bug51709_1.phpt =================================================================== --- branches/PHP_5_3/tests/basic/bug51709_1.phpt (revision 304977) +++ branches/PHP_5_3/tests/basic/bug51709_1.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %s/bug51709_1.php on line %d +Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d Index: branches/PHP_5_3/tests/basic/bug51709_2.phpt =================================================================== --- branches/PHP_5_3/tests/basic/bug51709_2.phpt (revision 304977) +++ branches/PHP_5_3/tests/basic/bug51709_2.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %s/bug51709_2.php on line %d +Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d
Index: trunk/ext/standard/tests/file/copy_variation12.phpt =================================================================== --- trunk/ext/standard/tests/file/copy_variation12.phpt (revision 304977) +++ trunk/ext/standard/tests/file/copy_variation12.phpt (working copy) @@ -41,11 +41,11 @@ --EXPECTF-- *** Test copy() function: Trying to create a copy of an existing dir *** -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation12.php on line %d bool(false) bool(false) int(%d) -Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d +Warning: filesize(): stat failed for %scopy_copy_variation12 in %scopy_variation12.php on line %d bool(false) *** Done *** Index: trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt =================================================================== --- trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt (revision 304977) +++ trunk/ext/sqlite3/tests/sqlite3_15_open_error.phpt (working copy) @@ -16,8 +16,8 @@ unlink($unreadable); ?> --EXPECTF-- -exception 'Exception' with message 'Unable to open database: %s' in %s/sqlite3_15_open_error.php:%d +exception 'Exception' with message 'Unable to open database: %s' in %ssqlite3_15_open_error.php:%d Stack trace: -#0 %s/sqlite3_15_open_error.php(%d): SQLite3->__construct('%s') +#0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s') #1 {main} Done Index: trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt =================================================================== --- trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (revision 304977) +++ trunk/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (working copy) @@ -44,7 +44,7 @@ string(10) "69636f6e76" string(2) "0a" -Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %s/iconv_stream_filter_delimiter.php on line %d +Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %siconv_stream_filter_delimiter.php on line %d string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" Index: trunk/ext/mbstring/tests/bug43301.phpt =================================================================== --- trunk/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ trunk/ext/mbstring/tests/bug43301.phpt (working copy) @@ -15,7 +15,7 @@ ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: trunk/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- trunk/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ trunk/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) -Done \ No newline at end of file +Done Index: trunk/tests/basic/bug51709_1.phpt =================================================================== --- trunk/tests/basic/bug51709_1.phpt (revision 304977) +++ trunk/tests/basic/bug51709_1.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %s/bug51709_1.php on line %d +Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d Index: trunk/tests/basic/bug51709_2.phpt =================================================================== --- trunk/tests/basic/bug51709_2.phpt (revision 304977) +++ trunk/tests/basic/bug51709_2.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %s/bug51709_2.php on line %d +Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d Index: branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt =================================================================== --- branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ branches/PHP_5_2/ext/mbstring/tests/bug43301.phpt (working copy) @@ -14,7 +14,7 @@ echo mb_ereg_replace($ptr,'$1',$txt,'e'); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ branches/PHP_5_2/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) Done \ No newline at end of file Index: branches/PHP_5_2/ext/reflection/tests/bug42976.phpt =================================================================== --- branches/PHP_5_2/ext/reflection/tests/bug42976.phpt (revision 304977) +++ branches/PHP_5_2/ext/reflection/tests/bug42976.phpt (working copy) @@ -26,9 +26,9 @@ --EXPECTF-- string(9) "x.changed" -Warning: Invocation of C's constructor failed in %s/bug42976.php on line %d +Warning: Invocation of C's constructor failed in %sbug42976.php on line %d string(10) "x.original" -Warning: Invocation of C's constructor failed in %s/bug42976.php on line %d +Warning: Invocation of C's constructor failed in %sbug42976.php on line %d string(10) "x.original" Done Index: branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt =================================================================== --- branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt (revision 304977) +++ branches/PHP_5_3/ext/standard/tests/file/copy_variation12.phpt (working copy) @@ -41,11 +41,11 @@ --EXPECTF-- *** Test copy() function: Trying to create a copy of an existing dir *** -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation12.php on line %d bool(false) bool(false) int(%d) -Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d +Warning: filesize(): stat failed for %scopy_copy_variation12 in %scopy_variation12.php on line %d bool(false) *** Done *** Index: branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt =================================================================== --- branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt (revision 304977) +++ branches/PHP_5_3/ext/sqlite3/tests/sqlite3_15_open_error.phpt (working copy) @@ -16,8 +16,8 @@ unlink($unreadable); ?> --EXPECTF-- -exception 'Exception' with message 'Unable to open database: %s' in %s/sqlite3_15_open_error.php:%d +exception 'Exception' with message 'Unable to open database: %s' in %ssqlite3_15_open_error.php:%d Stack trace: -#0 %s/sqlite3_15_open_error.php(%d): SQLite3->__construct('%s') +#0 %ssqlite3_15_open_error.php(%d): SQLite3->__construct('%s') #1 {main} Done Index: branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt =================================================================== --- branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (revision 304977) +++ branches/PHP_5_3/ext/iconv/tests/iconv_stream_filter_delimiter.phpt (working copy) @@ -44,7 +44,7 @@ string(10) "69636f6e76" string(2) "0a" -Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %s/iconv_stream_filter_delimiter.php on line %d +Warning: stream_filter_append(): unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-JP" in %siconv_stream_filter_delimiter.php on line %d string(20) "1b244224332473244b24" string(10) "41244f1b28" string(2) "42" Index: branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt =================================================================== --- branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt (revision 304977) +++ branches/PHP_5_3/ext/mbstring/tests/bug43301.phpt (working copy) @@ -15,7 +15,7 @@ ?> --EXPECTF-- -Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %s/bug43301.php(%d) : mbregex replace on line 1 +Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in %sbug43301.php(%d) : mbregex replace on line 1 Fatal error: mb_ereg_replace(): Failed evaluating code: -$1 in %s/bug43301.php on line %d +$1 in %sbug43301.php on line %d Index: branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt =================================================================== --- branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt (revision 304977) +++ branches/PHP_5_3/ext/pdo_pgsql/tests/bug36727.phpt (working copy) @@ -19,6 +19,6 @@ echo "Done\n"; ?> --EXPECTF-- -Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %s/bug36727.php on line %d +Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.php on line %d bool(false) -Done \ No newline at end of file +Done Index: branches/PHP_5_3/tests/basic/bug51709_1.phpt =================================================================== --- branches/PHP_5_3/tests/basic/bug51709_1.phpt (revision 304977) +++ branches/PHP_5_3/tests/basic/bug51709_1.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %s/bug51709_1.php on line %d +Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d Index: branches/PHP_5_3/tests/basic/bug51709_2.phpt =================================================================== --- branches/PHP_5_3/tests/basic/bug51709_2.phpt (revision 304977) +++ branches/PHP_5_3/tests/basic/bug51709_2.phpt (working copy) @@ -13,4 +13,4 @@ ===DONE=== <?php exit(0); ?> --EXPECTF-- -Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %s/bug51709_2.php on line %d +Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d