Mantis - Quercus
Viewing Issue Advanced Details
2056 crash always 10-10-07 14:31 10-10-07 21:32
mo  
nam  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002056: Servlet Exception in create_function
This is a follow-up bug report based on issue 1930. The following error
is generated by resin, while no error is generated in apache+php.

500 Servlet Exception

string::1: expected ',' at string();) in
string::0: foo(""");

The PHP code to generate this error is:

$func = create_function('', 'foo("\"")' . ';');

Notes
(0002336)
nam   
10-10-07 21:32   
The underlying issue was that Quercus was parsing '\"' as a string of length 1, instead of a string of length 2.

php/013q