3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "someString"; echo ord('a'); function rot13($str) { for ($i = 0,$l = strlen($str);$i<$l;$i++) { } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sY7CV
function name:  (null)
number of ops:  3
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'someString'
    3     1        ECHO                                                     97
    7     2      > RETURN                                                   1

Function rot13:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 5
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 5
Branch analysis from position: 8
Branch analysis from position: 5
filename:       /in/sY7CV
function name:  rot13
number of ops:  9
compiled vars:  !0 = $str, !1 = $i, !2 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        ASSIGN                                                   !1, 0
          2        STRLEN                                           ~4      !0
          3        ASSIGN                                                   !2, ~4
          4      > JMP                                                      ->6
          5    >   PRE_INC                                                  !1
          6    >   IS_SMALLER                                               !1, !2
          7      > JMPNZ                                                    ~7, ->5
    7     8    > > RETURN                                                   null

End of function rot13

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.69 ms | 1394 KiB | 13 Q