3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = ""; echo chr(232); for ($t=0; $t<1000; $t++) $input .= chr($t); for ($t=0; $t<strlen($input); $t++) { echo "".ord(substr($input, $t, 1))." "; } echo "strlen = ".strlen($input)."\n"; echo("t = $t \n");
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 = 4
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 25
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 13
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 13
Branch analysis from position: 28
Branch analysis from position: 13
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 4
Branch analysis from position: 11
Branch analysis from position: 4
filename:       /in/V4kmc
function name:  (null)
number of ops:  37
compiled vars:  !0 = $input, !1 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        ECHO                                                     '%E8'
    5     2        ASSIGN                                                   !1, 0
          3      > JMP                                                      ->9
          4    >   INIT_FCALL                                               'chr'
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $4      
          7        ASSIGN_OP                                     8          !0, $4
          8        PRE_INC                                                  !1
          9    >   IS_SMALLER                                               !1, 1000
         10      > JMPNZ                                                    ~7, ->4
    6    11    >   ASSIGN                                                   !1, 0
         12      > JMP                                                      ->25
    8    13    >   INIT_FCALL                                               'ord'
         14        INIT_FCALL                                               'substr'
         15        SEND_VAR                                                 !0
         16        SEND_VAR                                                 !1
         17        SEND_VAL                                                 1
         18        DO_ICALL                                         $9      
         19        SEND_VAR                                                 $9
         20        DO_ICALL                                         $10     
         21        CONCAT                                           ~11     '', $10
         22        CONCAT                                           ~12     ~11, '+'
         23        ECHO                                                     ~12
    6    24        PRE_INC                                                  !1
         25    >   STRLEN                                           ~14     !0
         26        IS_SMALLER                                               !1, ~14
         27      > JMPNZ                                                    ~15, ->13
   10    28    >   STRLEN                                           ~16     !0
         29        CONCAT                                           ~17     'strlen+%3D+', ~16
         30        CONCAT                                           ~18     ~17, '%0A'
         31        ECHO                                                     ~18
   11    32        ROPE_INIT                                     3  ~20     't+%3D+'
         33        ROPE_ADD                                      1  ~20     ~20, !1
         34        ROPE_END                                      2  ~19     ~20, '+%0A'
         35        ECHO                                                     ~19
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.54 ms | 1396 KiB | 19 Q