3v4l.org

run code in 500+ PHP versions simultaneously
<?php if (rand(0, 1)) { $a = 5; } echo $a;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/nMR15
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'rand'
          1        SEND_VAL                                                     0
          2        SEND_VAL                                                     1
          3        DO_ICALL                                             $1      
          4      > JMPZ                                                         $1, ->6
    4     5    >   ASSIGN                                                       !0, 5
    6     6    >   ECHO                                                         !0
    7     7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.42 ms | 1356 KiB | 14 Q