3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!function_exists('memory_get_peak_usage')) { function memory_get_peak_usage($real_usage=false) { return memory_get_usage($real_usage); } } memory_get_peak_usage();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/bkjRT
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'memory_get_peak_usage'
          2        DO_ICALL                                         $0      
          3        BOOL_NOT                                         ~1      $0
          4      > JMPZ                                                     ~1, ->6
    4     5    >   DECLARE_FUNCTION                                         'memory_get_peak_usage'
    9     6    >   INIT_FCALL                                               'memory_get_peak_usage'
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function %00memory_get_peak_usage%2Fin%2FbkjRT%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bkjRT
function name:  memory_get_peak_usage
number of ops:  6
compiled vars:  !0 = $real_usage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV_INIT                                        !0      <false>
    6     1        INIT_FCALL                                               'memory_get_usage'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $1      
          4      > RETURN                                                   $1
    7     5*     > RETURN                                                   null

End of function %00memory_get_peak_usage%2Fin%2FbkjRT%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.33 ms | 940 KiB | 20 Q