b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/develop/bug00057.phpt

--TEST--
Test for bug #57: Crash with overloading functions
--INI--
xdebug.mode=develop
xdebug.collect_assignments=0
error_reporting=2047
--FILE--
<?php
class OO {
	var $a = 111;
	var $elem = array('b' => 9, 'c' => 42);

	// Callback method for executing a method
	function __call($function, $params)
	{
		echo strlen($params[0]);
	}
}

$o = new OO;

echo $o->foo('80');

?> 
--EXPECTF--
2

Copyright © 2019 by b0y-101