remove array_multisort and convert array_multisortN to use inout
[hiphop-php.git] / hphp / test / zend / good / ext / standard / tests / array / bug34227.php
blob758e21206255617e98c05eed1257033efdaa8965
1 <?hh
3 class C
5 function m1()
7 $this->m2();
10 function m2()
12 $this->m3();
15 function m3()
17 $this->m4();
20 function m4()
22 $this->m5();
25 function m5()
27 $this->m6();
30 function m6()
32 $this->m7();
35 function m7()
37 $this->m8();
40 function m8()
42 $this->m9();
45 function m9()
47 $this->m10();
50 function m10()
52 $this->m11(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
55 function m11($a1, $a2, $a3, $a4, $a5, $a6, $a7, $a8, $a9, $a10)
57 $arr = explode('a', 'b');
61 function f($str)
63 $obj = new C;
64 $obj->m1();
65 return TRUE;
68 function p5($a1, $a2, $a3, $a4, $a5, $a6, $a7, $a8, $a9, $a10, $a11, $a12)
70 $ret = array_filter(array(0), 'f');
73 function p4()
75 p5(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12);
78 function p3()
80 p4();
83 function p2()
85 p3();
88 function p1()
90 p2();
92 <<__EntryPoint>> function main(): void {
93 p1();
94 echo "ok\n";