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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Jun 24 12:01:31 2024 UTC