????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.224.2.133 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/home/b8009/php-5.6.22/ext/standard/tests/array/ |
Upload File : |
--TEST-- Bug #34277 (array_filter() crashes with references and objects) --FILE-- <?php class C { function m1() { $this->m2(); } function m2() { $this->m3(); } function m3() { $this->m4(); } function m4() { $this->m5(); } function m5() { $this->m6(); } function m6() { $this->m7(); } function m7() { $this->m8(); } function m8() { $this->m9(); } function m9() { $this->m10(); } function m10() { $this->m11(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); } function m11($a1, $a2, $a3, $a4, $a5, $a6, $a7, $a8, $a9, $a10) { $arr = explode('a', 'b'); } } function f($str) { $obj = new C; $obj->m1(); return TRUE; } function p5($a1, $a2, $a3, $a4, $a5, $a6, $a7, $a8, $a9, $a10, $a11, $a12) { $ret = array_filter(array(0), 'f'); } function p4() { p5(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12); } function p3() { p4(); } function p2() { p3(); } function p1() { p2(); } p1(); echo "ok\n"; ?> --EXPECT-- ok