php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3891 Seg fault
Submitted: 2000-03-21 18:27 UTC Modified: 2000-06-06 20:51 UTC
From: jianmang at stachanov dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 4 Patch Level 1 OS: Linux 2.2.13
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 1 = ?
Subscribe to this entry?

 
 [2000-03-21 18:27 UTC] jianmang at stachanov dot com
/*
This was a mistake in my code. 
*/
<?php
function a() {
b("Seg. fault");
}
function b(&$arg) {
}
a();
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-06 20:51 UTC] andi at cvs dot php dot net
This has been fixed. PHP will now correctly output an error message and terminate the script. The error message is:<b>Fatal error</b>:  Only variables can be passed by reference in <b>test.php</b> on line <b>3</b><br>


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 16:01:27 2024 UTC