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

Pull Requests

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: Mon Dec 30 14:01:28 2024 UTC