I am testing O+ on Windows with php 5.3, 5.4, and 5.5. 

I have uploaded my O+ test results here: 
http://windows.php.net/downloads/snaps/ostc/pftt/

Crashes have increased with 5.3, 5.4 and 5.5 TS builds with Apache. TS or NTS 
on CLI seem fine.

See 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_3/r61099f8/PHPT_CMP_PHP_5_3-r61099f8-TS-X86-VC9_Local-FileSystem_Apache-ModPHP_v_PHP_5_3-r61099f8-TS-X86-VC9_OptimizerPlus_Local-FileSystem_Apache-ModPHP.html
 and 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_4/r7c08232/PHPT_CMP_PHP_5_4-r7c08232-TS-X86-VC9_Local-FileSystem_Apache-ModPHP_v_PHP_5_4-r7c08232-TS-X86-VC9_OptimizerPlus_Local-FileSystem_Apache-ModPHP.html
 and 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_4/r7c08232/PHPT_CMP_PHP_5_4-r7c08232-TS-X86-VC9_Local-FileSystem_CLI_v_PHP_5_4-r7c08232-TS-X86-VC9_OptimizerPlus_Local-FileSystem_CLI.html

Crashes are up to 6 or 7 (in addition to the same 2 or 3) on 5.3 and 5.4. And 
with 5.5, crashes are up to 17 on CLI and 22 on Apache. 5.5 is compiled using 
VC11 whereas 5.4 and 5.3 are compiled using VC9 so that may be part of the 
issue with 5.5.

See 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_5/r0d65a85/PHPT_CMP_PHP_5_5-r0d65a85-TS-X86-VC11_Local-FileSystem_Apache-ModPHP_v_PHP_5_5-r0d65a85-TS-X86-VC11_OptimizerPlus_Local-FileSystem_Apache-ModPHP.html
 and 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_5/r0d65a85/PHPT_CMP_PHP_5_5-r0d65a85-TS-X86-VC11_Local-FileSystem_CLI_v_PHP_5_5-r0d65a85-TS-X86-VC11_OptimizerPlus_Local-FileSystem_CLI.html

Secondly, Reflection may be affected when running on Apache. PhpUnit uses 
reflection to run the actual test method. On Apache, all tests pass with O+ 
whereas on CLI or Apache without O+, I get ~38 errors and failures and some 
crashes (validated): Reflection seems broken only on Apache only with O+.

See 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_5/r0d65a85/PhpUnit_CMP_Symfony-Standard-2.1.8_PHP_5_5-r0d65a85-TS-X86-VC11_Local-FileSystem_Apache-ModPHP_v_PHP_5_5-r0d65a85-TS-X86-VC11_OptimizerPlus_Local-FileSystem_Apache-ModPHP.html
 and 
http://windows.php.net/downloads/snaps/ostc/pftt/PHP_5_5/r0d65a85/PhpUnit_CMP_Symfony-Standard-2.1.8_PHP_5_5-r0d65a85-TS-X86-VC11_Local-FileSystem_CLI_v_PHP_5_5-r0d65a85-TS-X86-VC11_OptimizerPlus_Local-FileSystem_CLI.html

PhpUnit uses ReflectionMethod::invokeArgs to actually invoke the test method to 
run the test, and if no exceptions are thrown, it assumes the test passes. I 
think at least some of the test methods aren't getting invoked (optimized out?) 
but no exception is thrown, so PhpUnit assumes the test passes.

I am still studying this Reflection issue. I will try to create a PHPT test for 
this reflection+O+ issue.

Regards
-M

                                          

Reply via email to