From:             
Operating system: Win 7 (x64)
PHP version:      5.3.10
Package:          Reproducible crash
Bug Type:         Bug
Bug description:PHP crashes while including classes without any error message 
or log

Description:
------------
Hi,

I have a strange problem with two PHP scripts. If I include them in another
file without doing anything else PHP will crash without any error message.
It doesn't matter if you execute it with CLI or via web server. But if I
change or remove any char even in the comments the script works again.
Maybe there is any special char in the script which result in a PHP crash
during parsing. This problem occurs in PHP 5.3.9 and 5.3.10 on Windows. I
have not tested it on Linux.

Test script:
---------------
I have uploaded a ZIP archive which contains three files: test.php,
Product.php and InvoiceProcessor.php

You have just to execute or call the 'test.php' (via CLI or web server).
Product.php and InvoiceProcessor.php contains both one class. 

Link to download page:
http://www.filehosting.org/file/details/326139/test.zip


-- 
Edit bug report at https://bugs.php.net/bug.php?id=61568&edit=1
-- 
Try a snapshot (PHP 5.4):            
https://bugs.php.net/fix.php?id=61568&r=trysnapshot54
Try a snapshot (PHP 5.3):            
https://bugs.php.net/fix.php?id=61568&r=trysnapshot53
Try a snapshot (trunk):              
https://bugs.php.net/fix.php?id=61568&r=trysnapshottrunk
Fixed in SVN:                        
https://bugs.php.net/fix.php?id=61568&r=fixed
Fixed in SVN and need be documented: 
https://bugs.php.net/fix.php?id=61568&r=needdocs
Fixed in release:                    
https://bugs.php.net/fix.php?id=61568&r=alreadyfixed
Need backtrace:                      
https://bugs.php.net/fix.php?id=61568&r=needtrace
Need Reproduce Script:               
https://bugs.php.net/fix.php?id=61568&r=needscript
Try newer version:                   
https://bugs.php.net/fix.php?id=61568&r=oldversion
Not developer issue:                 
https://bugs.php.net/fix.php?id=61568&r=support
Expected behavior:                   
https://bugs.php.net/fix.php?id=61568&r=notwrong
Not enough info:                     
https://bugs.php.net/fix.php?id=61568&r=notenoughinfo
Submitted twice:                     
https://bugs.php.net/fix.php?id=61568&r=submittedtwice
register_globals:                    
https://bugs.php.net/fix.php?id=61568&r=globals
PHP 4 support discontinued:          
https://bugs.php.net/fix.php?id=61568&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61568&r=dst
IIS Stability:                       
https://bugs.php.net/fix.php?id=61568&r=isapi
Install GNU Sed:                     
https://bugs.php.net/fix.php?id=61568&r=gnused
Floating point limitations:          
https://bugs.php.net/fix.php?id=61568&r=float
No Zend Extensions:                  
https://bugs.php.net/fix.php?id=61568&r=nozend
MySQL Configuration Error:           
https://bugs.php.net/fix.php?id=61568&r=mysqlcfg

Reply via email to