3v4l.org

run code in 300+ PHP versions simultaneously
<?php // your code goes here $i = 0; while ($i < 5) { echo memory_get_usage() . "\n"; stream_context_create( array('http' => array( 'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => str_repeat('a', 99), ), ) ); $i++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
Branch analysis from position: 2
filename:       /in/RHrCW
function name:  (null)
number of ops:  21
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 0
    7     1      > JMP                                                      ->18
    9     2    >   INIT_FCALL                                               'memory_get_usage'
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      $2, '%0A'
          5        ECHO                                                     ~3
   10     6        INIT_FCALL                                               'stream_context_create'
   13     7        INIT_ARRAY                                       ~4      'POST', 'method'
   14     8        ADD_ARRAY_ELEMENT                                ~4      'Content-type%3A+application%2Fx-www-form-urlencoded', 'header'
   15     9        INIT_FCALL                                               'str_repeat'
         10        SEND_VAL                                                 'a'
         11        SEND_VAL                                                 99
         12        DO_ICALL                                         $5      
         13        ADD_ARRAY_ELEMENT                                ~4      $5, 'content'
         14        INIT_ARRAY                                       ~6      ~4, 'http'
         15        SEND_VAL                                                 ~6
         16        DO_ICALL                                                 
   19    17        PRE_INC                                                  !0
    7    18    >   IS_SMALLER                                               !0, 5
         19      > JMPNZ                                                    ~9, ->2
   21    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.39 ms | 1395 KiB | 19 Q