3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ddd = str_repeat('a', 1024 * 1024 * 2 - memory_get_usage()); echo memory_get_usage(), "\n"; $pass = str_repeat('a', 1024 * 1024 * 9 + 1024 * 1000); $pass . $pass; __halt_compiler();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cHcmk
function name:  (null)
number of ops:  20
compiled vars:  !0 = $ddd, !1 = $pass
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 'a'
          2        INIT_FCALL                                               'memory_get_usage'
          3        DO_ICALL                                         $2      
          4        SUB                                              ~3      2097152, $2
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !0, $4
    5     8        INIT_FCALL                                               'memory_get_usage'
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
         11        ECHO                                                     '%0A'
    7    12        INIT_FCALL                                               'str_repeat'
         13        SEND_VAL                                                 'a'
         14        SEND_VAL                                                 10461184
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !1, $7
    9    17        CONCAT                                           ~9      !1, !1
         18        FREE                                                     ~9
   12    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.72 ms | 1395 KiB | 17 Q