3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = 15; $s = 4; $x = 1; $y = 1; $ammount = 5; while ($y <= $ammount) { while ($x <= $t) { $s.= rand(1,9); $x++; } echo $s."\n"; $y++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 6
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 7
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 6
Branch analysis from position: 20
Branch analysis from position: 6
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 7
Branch analysis from position: 15
Branch analysis from position: 7
filename:       /in/PmtaW
function name:  (null)
number of ops:  21
compiled vars:  !0 = $t, !1 = $s, !2 = $x, !3 = $y, !4 = $ammount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 15
    3     1        ASSIGN                                                   !1, 4
    4     2        ASSIGN                                                   !2, 1
    5     3        ASSIGN                                                   !3, 1
    6     4        ASSIGN                                                   !4, 5
    7     5      > JMP                                                      ->18
    8     6    > > JMP                                                      ->13
    9     7    >   INIT_FCALL                                               'rand'
          8        SEND_VAL                                                 1
          9        SEND_VAL                                                 9
         10        DO_ICALL                                         $10     
         11        ASSIGN_OP                                     8          !1, $10
   10    12        PRE_INC                                                  !2
    8    13    >   IS_SMALLER_OR_EQUAL                                      !2, !0
         14      > JMPNZ                                                    ~13, ->7
   12    15    >   CONCAT                                           ~14     !1, '%0A'
         16        ECHO                                                     ~14
   13    17        PRE_INC                                                  !3
    7    18    >   IS_SMALLER_OR_EQUAL                                      !3, !4
         19      > JMPNZ                                                    ~16, ->6
   14    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1395 KiB | 15 Q