@ 2012-12-02T15:03:40Z <?php
$str = 'Players are (4): nana, nini, nunu, nono';
$str1 = 'nunu: (JH)';
$str2 = 'Bot draws - nana: (JH) Bot draws - nini: (JH) Bot draws - nunu: (JH) Bot draws - nono: (JH)';
$pplayer = preg_match("#^Players are ?(\((.*)\):)? (.*)$#i", $str, $pp);
$player = array_map('trim', explode(',', $pp[3]));
$endplayer = end($player);
$sisaplayer = $pp[2];
$ppkartu = preg_match("#^([a-z0-9\-\._:]+) ?(\((.*)\))?$#i", $str1, $pk);
$pkartu = $pk[2];
$pbdraw = preg_match('#^Bot draws - ([a-z0-9\-\._]+)\: ?(\((.*)\))?$#i', $str2, $pb);
$pbplayer = $pb;
$pbkartu = $pb[2];
call_User_Func_Array('array_Merge',$pbkartu);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.28 , 8.2.0 - 8.2.18 , 8.3.0 - 8.3.6 Fatal error: Uncaught TypeError: call_user_func_array(): Argument #2 ($args) must be of type array, string given in /in/4tMdr:14
Stack trace:
#0 {main}
thrown in /in/4tMdr on line 14
Process exited with code 255 . Output for 5.3.0 - 5.3.29 , 5.4.0 - 5.4.45 , 5.5.24 - 5.5.35 , 5.6.7 - 5.6.28 , 7.0.0 - 7.0.20 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 , 7.4.0 - 7.4.33 Warning: call_user_func_array() expects parameter 2 to be array, string given in /in/4tMdr on line 14
Output for 5.0.0 - 5.0.5 , 5.1.0 - 5.1.6 , 5.2.0 - 5.2.17 Warning: array_merge(): Argument #1 is not an array in /in/4tMdr on line 14
Output for 4.3.0 - 4.3.11 , 4.4.0 - 4.4.9 preferences:dark mode live preview
195.21 ms | 402 KiB | 343 Q