Edit report at https://bugs.php.net/bug.php?id=61568&edit=1

 ID:                 61568
 Comment by:         reeze dot xia at gmail dot com
 Reported by:        login dot naitsirch at arcor dot de
 Summary:            PHP crashes while including classes without any
                     error message or log
 Status:             Open
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Win 7 (x64)
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

Hi, naitsirch:
   I did't reproduce it in PHP5.3. I've notice that, those two files really do 
nothing but declare classes. "Product.php would Fatal because of 
"Leonex_Core_Model_Abstract" not found. It's reasonable. but the anther file 
inclusion do nothing is expected. but if you turn display_errors to Off. it 
will 
output nothing.
   Please check your ini config.


Previous Comments:
------------------------------------------------------------------------
[2012-03-30 15:30:04] login dot naitsirch at arcor dot de

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 this bug report at https://bugs.php.net/bug.php?id=61568&edit=1

Reply via email to