3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = json_encode(new DateTime(), JSON_PRETTY_PRINT); echo $var . PHP_EOL; var_dump(json_decode($var));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2D6GP
function name:  (null)
number of ops:  16
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
          1        NEW                                              $1      'DateTime'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $1
          4        SEND_VAL                                                 128
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    5     7        CONCAT                                           ~5      !0, '%0A'
          8        ECHO                                                     ~5
    7     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'json_decode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.24 ms | 1386 KiB | 19 Q