3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode(new DateTime('2015-05-03 12:25:31.356')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PU34P
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_encode'
          2        NEW                                              $0      'DateTime'
          3        SEND_VAL_EX                                              '2015-05-03+12%3A25%3A31.356'
          4        DO_FCALL                                      0          
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.44 ms | 1394 KiB | 17 Q