3v4l.org

run code in 300+ PHP versions simultaneously
<?php $code = "564646773"; while($a = $code[$i]) { echo $a.":"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/4lNlD
function name:  (null)
number of ops:  8
compiled vars:  !0 = $code, !1 = $a, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '564646773'
    4     1      > JMP                                                      ->4
    6     2    >   CONCAT                                           ~4      !1, '%3A'
          3        ECHO                                                     ~4
    4     4    >   FETCH_DIM_R                                      ~5      !0, !2
          5        ASSIGN                                           ~6      !1, ~5
          6      > JMPNZ                                                    ~6, ->2
    7     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.84 ms | 1397 KiB | 13 Q