3v4l.org

run code in 500+ PHP versions simultaneously
<?php $result = []; for ($a=1;$a<=10;$a++){ if ($a % 3 != 0){ $result[] = $a * $a; } } echo implode(",", $result); // 1,4,16,25,49,64,100
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 = 12, Position 2 = 3
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 3
Branch analysis from position: 12
Branch analysis from position: 3
Branch analysis from position: 9
filename:       /in/Mb1Cl
function name:  (null)
number of ops:  15
compiled vars:  !0 = $result, !1 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    4     1        ASSIGN                                                       !1, 1
          2      > JMP                                                          ->10
    5     3    >   MOD                                                  ~4      !1, 3
          4        IS_NOT_EQUAL                                                 ~4, 0
          5      > JMPZ                                                         ~5, ->9
    6     6    >   MUL                                                  ~7      !1, !1
          7        ASSIGN_DIM                                                   !0
          8        OP_DATA                                                      ~7
    4     9    >   PRE_INC                                                      !1
         10    >   IS_SMALLER_OR_EQUAL                                          !1, 10
         11      > JMPNZ                                                        ~9, ->3
   10    12    >   FRAMELESS_ICALL_2                implode             ~10     '%2C', !0
         13        ECHO                                                         ~10
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.98 ms | 2098 KiB | 13 Q