3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c=''; for ($i=0; $i<20; $i++) $c .= chr(mt_rand(0, 255)); var_dump(new $c);
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/VvqqZ
function name:  (null)
number of ops:  21
compiled vars:  !0 = $c, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->12
    5     3    >   INIT_FCALL                                               'chr'
          4        INIT_FCALL                                               'mt_rand'
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 255
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ASSIGN_OP                                     8          !0, $5
    4    11        PRE_INC                                                  !1
         12    >   IS_SMALLER                                               !1, 20
         13      > JMPNZ                                                    ~8, ->3
    7    14    >   INIT_FCALL                                               'var_dump'
         15        FETCH_CLASS                                   0  $9      !0
         16        NEW                                              $10     $9
         17        DO_FCALL                                      0          
         18        SEND_VAR                                                 $10
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.8 ms | 1395 KiB | 19 Q