3v4l.org

run code in 200+ PHP versions simultaneously
<?php $stnum = 0; while ($stnum <= 125){ $stize = rand(0,5); $xl = rand(0,800); $yl = rand(0,600); $r = mt_rand(0,255); $g = mt_rand(0,255); $b = mt_rand(0,255); echo sprintf( "%3d|%3d|%3d|%3d|%3d|%3d|%3d\n", $stnum, $stize, $xl, $yl, $r, $g, $b ); $stnum += 1; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 44
Branch analysis from position: 44
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 2
Branch analysis from position: 46
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 46, Position 2 = 2
Branch analysis from position: 46
Branch analysis from position: 2
filename:       /in/2CBnj
function name:  (null)
number of ops:  47
compiled vars:  !0 = $stnum, !1 = $stize, !2 = $xl, !3 = $yl, !4 = $r, !5 = $g, !6 = $b
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 0
   4     1      > JMP                                                      ->44
   5     2    >   INIT_FCALL                                               'rand'
         3        SEND_VAL                                                 0
         4        SEND_VAL                                                 5
         5        DO_ICALL                                         $8      
         6        ASSIGN                                                   !1, $8
   6     7        INIT_FCALL                                               'rand'
         8        SEND_VAL                                                 0
         9        SEND_VAL                                                 800
        10        DO_ICALL                                         $10     
        11        ASSIGN                                                   !2, $10
   7    12        INIT_FCALL                                               'rand'
        13        SEND_VAL                                                 0
        14        SEND_VAL                                                 600
        15        DO_ICALL                                         $12     
        16        ASSIGN                                                   !3, $12
   8    17        INIT_FCALL                                               'mt_rand'
        18        SEND_VAL                                                 0
        19        SEND_VAL                                                 255
        20        DO_ICALL                                         $14     
        21        ASSIGN                                                   !4, $14
   9    22        INIT_FCALL                                               'mt_rand'
        23        SEND_VAL                                                 0
        24        SEND_VAL                                                 255
        25        DO_ICALL                                         $16     
        26        ASSIGN                                                   !5, $16
  10    27        INIT_FCALL                                               'mt_rand'
        28        SEND_VAL                                                 0
        29        SEND_VAL                                                 255
        30        DO_ICALL                                         $18     
        31        ASSIGN                                                   !6, $18
  12    32        INIT_FCALL                                               'sprintf'
  13    33        SEND_VAL                                                 '%253d%7C%253d%7C%253d%7C%253d%7C%253d%7C%253d%7C%253d%0A'
  14    34        SEND_VAR                                                 !0
  15    35        SEND_VAR                                                 !1
  16    36        SEND_VAR                                                 !2
  17    37        SEND_VAR                                                 !3
  18    38        SEND_VAR                                                 !4
  19    39        SEND_VAR                                                 !5
  20    40        SEND_VAR                                                 !6
        41        DO_ICALL                                         $20     
        42        ECHO                                                     $20
  23    43        ASSIGN_OP                                     1          !0, 1
   4    44    >   CAST                                          0  ~22     !0, 125
        45      > JMPNZ                                                    ~22, ->2
  24    46    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0