php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3835 segfault in func_get_args with implode
Submitted: 2000-03-15 07:29 UTC Modified: 2002-10-01 13:44 UTC
From: wico at cnh dot nl Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0 Latest CVS (15/03/2000) OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wico at cnh dot nl
New email:
PHP Version: OS:

 

 [2000-03-15 07:29 UTC] wico at cnh dot nl
Hiya

should explain enough:
<?
	function wico () {
	// this works
		$args = func_get_args();
		$args = implode(",", $args); 
	
	// this segfaults
		$args = implode(",", func_get_args());
		
	// make sure something should be displayed
		echo "PLOP ($args)";
	}
	
	Wico("Andy and Zeev this doesn't work :(");
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 13:44 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.

in php 4 this gives an eplanatory error message

Fatal error:  func_get_args(): Can't be used as a function parameter in - on line 8
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC