3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump(ini_get('memory_limit')); ini_set('memory_limit', '16M'); $s = str_repeat('*', 16 * 1024 * 1024);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lHP3b
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'var_dump'
          1        INIT_FCALL                                                   'ini_get'
          2        SEND_VAL                                                     'memory_limit'
          3        DO_ICALL                                             $1      
          4        SEND_VAR                                                     $1
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'ini_set'
          7        SEND_VAL                                                     'memory_limit'
          8        SEND_VAL                                                     '16M'
          9        DO_ICALL                                                     
    5    10        INIT_FCALL                                                   'str_repeat'
         11        SEND_VAL                                                     '%2A'
         12        SEND_VAL                                                     16777216
         13        DO_ICALL                                             $4      
         14        ASSIGN                                                       !0, $4
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.09 ms | 480 KiB | 11 Q