Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (26 sloc) 0.487 kb
d611862 Derick Rethans - Added test cases for bug #57
authored
1 --TEST--
903e2fb Derick Rethans Tests clean-up (probably only part 1 though...)
authored
2 Test for bug #57: Crash with overloading functions
d611862 Derick Rethans - Added test cases for bug #57
authored
3 --INI--
4 xdebug.default_enable=1
5 xdebug.auto_trace=0
6 xdebug.collect_params=1
657ff72 Derick Rethans - Added the new setting "xdebug.collect_assignments" which enables the e...
authored
7 xdebug.collect_assignments=0
d611862 Derick Rethans - Added test cases for bug #57
authored
8 xdebug.show_mem_delta=0
a5505b2 Derick Rethans - Disable profiler by default for all tests.
authored
9 xdebug.profiler_enable=0
224c90d Derick Rethans - Fix test
authored
10 error_reporting=2047
d611862 Derick Rethans - Added test cases for bug #57
authored
11 --FILE--
12 <?php
13 class OO {
14 var $a = 111;
15 var $elem = array('b' => 9, 'c' => 42);
16
17 // Callback method for executing a method
18 function __call($function, $params)
19 {
20 echo strlen($params[0]);
21 }
22 }
23
24 $o = new OO;
25
26 echo $o->foo('80');
27
28 ?>
29 --EXPECTF--
30 2
Something went wrong with that request. Please try again.