3v4l.org

run code in 300+ PHP versions simultaneously
<?php function is_set(& $v) { return $v !== null; } function void() { // void something } for( $all = 0, $start = microtime('float'), $now = 1, $last = 2000; $now <= $last; $now++) { }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 8
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 8
Branch analysis from position: 11
Branch analysis from position: 8
filename:       /in/JssRd
function name:  (null)
number of ops:  12
compiled vars:  !0 = $all, !1 = $start, !2 = $now, !3 = $last
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, 0
   13     1        INIT_FCALL                                               'microtime'
          2        SEND_VAL                                                 'float'
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
   14     5        ASSIGN                                                   !2, 1
   15     6        ASSIGN                                                   !3, 2000
          7      > JMP                                                      ->9
   19     8    >   PRE_INC                                                  !2
   17     9    >   IS_SMALLER_OR_EQUAL                                      !2, !3
         10      > JMPNZ                                                    ~10, ->8
   21    11    > > RETURN                                                   1

Function is_set:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JssRd
function name:  is_set
number of ops:  4
compiled vars:  !0 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        TYPE_CHECK                                  1020  ~1      !0
          2      > RETURN                                                   ~1
    5     3*     > RETURN                                                   null

End of function is_set

Function void:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JssRd
function name:  void
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   null

End of function void

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.65 ms | 1395 KiB | 15 Q