3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTimeImmutable(); sleep(1); $b = new DateTimeImmutable(); echo $a < $b ? 'je' : 'neni';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 13
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0vYUD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTimeImmutable'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    5     3        INIT_FCALL                                               'sleep'
          4        SEND_VAL                                                 1
          5        DO_ICALL                                                 
    7     6        NEW                                              $6      'DateTimeImmutable'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $6
    9     9        IS_SMALLER                                               !0, !1
         10      > JMPZ                                                     ~9, ->13
         11    >   QM_ASSIGN                                        ~10     'je'
         12      > JMP                                                      ->14
         13    >   QM_ASSIGN                                        ~10     'neni'
         14    >   ECHO                                                     ~10
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.18 ms | 1394 KiB | 15 Q