3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tabla($numero) { for($i=0;$i<=10;$i++) { echo "$numero x $i = " . $numero * $i . PHP_EOL; } } tabla(2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/01hWG
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'tabla'
          1        SEND_VAL                                                 2
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function tabla:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/01hWG
function name:  tabla
number of ops:  15
compiled vars:  !0 = $numero, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    6     3    >   ROPE_INIT                                     4  ~4      !0
          4        ROPE_ADD                                      1  ~4      ~4, '+x+'
          5        ROPE_ADD                                      2  ~4      ~4, !1
          6        ROPE_END                                      3  ~3      ~4, '+%3D+'
          7        MUL                                              ~6      !0, !1
          8        CONCAT                                           ~7      ~3, ~6
          9        CONCAT                                           ~8      ~7, '%0A'
         10        ECHO                                                     ~8
    5    11        PRE_INC                                                  !1
         12    >   IS_SMALLER_OR_EQUAL                                      !1, 10
         13      > JMPNZ                                                    ~10, ->3
    9    14    > > RETURN                                                   null

End of function tabla

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
209.65 ms | 1397 KiB | 14 Q