3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.19 ms | 1385 KiB | 17 Q