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 strtotime($myTime)->format("%H:%I:%S"); echo "\n\n" . print_r(unserialize($myvar),true) ;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to a member function format() on int in /in/5uKeh:8 Stack trace: #0 {main} thrown in /in/5uKeh on line 8
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
55.63 ms | 401 KiB | 8 Q