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/TbMHA
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 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/TbMHA
function name:  tabla
number of ops:  16
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                                                      ->13
    6     3    >   ROPE_INIT                                     7  ~4      !0
          4        ROPE_ADD                                      1  ~4      ~4, '+x+'
          5        ROPE_ADD                                      2  ~4      ~4, !1
          6        ROPE_ADD                                      3  ~4      ~4, '+%3D+'
          7        ROPE_ADD                                      4  ~4      ~4, !0
          8        ROPE_ADD                                      5  ~4      ~4, '+%2A+'
          9        ROPE_END                                      6  ~3      ~4, !1
         10        CONCAT                                           ~8      ~3, '%0A'
         11        ECHO                                                     ~8
    5    12        PRE_INC                                                  !1
         13    >   IS_SMALLER_OR_EQUAL                                      !1, 10
         14      > JMPNZ                                                    ~10, ->3
    9    15    > > RETURN                                                   null

End of function tabla

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.81 ms | 1398 KiB | 14 Q