ID:               50836
 User updated by:  v-ryanbi at microsoft dot com
 Reported By:      v-ryanbi at microsoft dot com
-Status:           Assigned
+Status:           Open
 Bug Type:         Session related
 Operating System: Windows Server 2008 R2
 PHP Version:      5.3SVN-2010-01-25 (SVN)
 Assigned To:      pajoye
 New Comment:

Upon further inspection, I found the test log files potentially
relevant. All three tests actual output is the same. 

ext\session\tests\020.log
---- EXPECTED OUTPUT
<a href="link.php?a=b&amp;PHPSESSID=abtest">
---- ACTUAL OUTPUT
'amp' is not recognized as an internal or external command,
operable program or batch file.
---- FAILED

ext\session\tests\bug41600.log
---- EXPECTED OUTPUT
<a href="link.php?a=b&amp;PHPSESSID=abtest">
---- ACTUAL OUTPUT
'amp' is not recognized as an internal or external command,
operable program or batch file.
---- FAILED

ext\session\tests\bug42596.log
---- EXPECTED OUTPUT
hello world
string(6) "100777"
---- ACTUAL OUTPUT
'amp' is not recognized as an internal or external command,
operable program or batch file.
---- FAILED


Previous Comments:
------------------------------------------------------------------------

[2010-01-25 19:37:23] [email protected]

That's due to the (somehow broken) --INI-- section:

arg_separator.output="&amp;"

If you replace this line with:

arg_separator.output=&

it should work well.

I don't have a work around for run-tests.php right now, patch welcome
if you find a portable solution (has to work on all platforms).

------------------------------------------------------------------------

[2010-01-25 18:46:38] v-ryanbi at microsoft dot com

Description:
------------
During execution of 'run-tests.php' from the cmd shell, at several
points an alert dialog is created, bypassing stdout and stderr. The
contents of the alert is:

---------------------------
PHP Error
---------------------------
parse error, expecting `TC_DOLLAR_CURLY' or `TC_QUOTED_STRING' or
`'\"'' in Unknown on line 39

---------------------------
OK   
---------------------------

It appears twice immediately after each of the following outputs, none
of which have 39 lines, so I'm suspecting it's failing on eval'd code at
some point:

TEST 3029/8140 ext\session\tests\020.phpt
TEST 3047/8140 ext\session\tests\bug41600.phpt
TEST 3048/8140 ext\session\tests\bug42596.phpt

No syntax errors are present in the --FILE section of the tests or in
the files generated.

Reproduce code:
---------------
C:\>SET PHP_TEST_EXECUTABLE=C:\path\to\php\source\Release\php.exe
C:\>cd \path\to\php\source
C:\path\to\php\source>Release\php.exe run-tests.php

Expected result:
----------------
No errors would be nice :)

Actual result:
--------------
See Description


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50836&edit=1

Reply via email to