3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.99 ms | 1394 KiB | 17 Q