3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' ["Puerto Banus ", "ZZZZZZZZZZZZ", ""],'; for($i=0;$i<strlen($string);$i++) { echo ord($string[$i]) . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/0hYR2
function name:  (null)
number of ops:  14
compiled vars:  !0 = $string, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '++++%5B%22Puerto+Banus++%22%2C+%22ZZZZZZZZZZZZ%22%2C+%22%22%5D%2C'
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->10
    6     3    >   INIT_FCALL                                               'ord'
          4        FETCH_DIM_R                                      ~4      !0, !1
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        CONCAT                                           ~6      $5, '%0A'
          8        ECHO                                                     ~6
    5     9        PRE_INC                                                  !1
         10    >   STRLEN                                           ~8      !0
         11        IS_SMALLER                                               !1, ~8
         12      > JMPNZ                                                    ~9, ->3
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.15 ms | 1394 KiB | 15 Q