3v4l.org

run code in 300+ PHP versions simultaneously
<?php $myvar = 'a:6:{s:6:"J_ID.1";s:11:"02003050020";s:9:"J_Score.1";s:0:"";s:10:"J_Status.1";s:1:"I";s:6:"J_ID.2";s:11:"02003050111";s:9:"J_Score.2";s:0:"";s:10:"J_Status.2";s:1:"N";}'; $dateFormat = 'Y-m-d (D), H:i:s'; $myTime = 1450463036; echo $myTime($dateFormat); echo "\n\n" . print_r(unserialize($myvar),true) ;
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Fatal error: Uncaught Error: Value of type int is not callable in /in/lbS3k:8 Stack trace: #0 {main} thrown in /in/lbS3k on line 8
Process exited with code 255.
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Function name must be a string in /in/lbS3k:8 Stack trace: #0 {main} thrown in /in/lbS3k on line 8
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.21
Fatal error: Function name must be a string in /in/lbS3k on line 8
Process exited with code 255.

preferences:
133.43 ms | 401 KiB | 178 Q