3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tabuada($a){ $b = 0; do{ $resultado = $a * $b; echo "$a x $b = $resultado \n"; $b++; }while($a <= 10); } $a = 5; tabuada($a);

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VXkf6
function name:  (null)
number of ops:  5
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   ASSIGN                                                   !0, 5
   13     1        INIT_FCALL                                               'tabuada'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

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

End of function tabuada

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.28 ms | 1011 KiB | 14 Q