3v4l.org

run code in 300+ PHP versions simultaneously
<?php $implicit_flush = ini_get('implicit_flush'); $output_buffering = ini_get('output_buffering'); ob_start(); echo ""; ob_end_flush(); echo ""; header('foo'); printf("Output Buffering was: %s\n", $output_buffering); printf("Implicit Flush was: %s\n", $implicit_flush);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/moj7W
function name:  (null)
number of ops:  26
compiled vars:  !0 = $implicit_flush, !1 = $output_buffering
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ini_get'
          1        SEND_VAL                                                 'implicit_flush'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'ini_get'
          5        SEND_VAL                                                 'output_buffering'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    6     8        INIT_FCALL                                               'ob_start'
          9        DO_ICALL                                                 
    7    10        ECHO                                                     ''
    8    11        INIT_FCALL                                               'ob_end_flush'
         12        DO_ICALL                                                 
    9    13        ECHO                                                     ''
   10    14        INIT_FCALL                                               'header'
         15        SEND_VAL                                                 'foo'
         16        DO_ICALL                                                 
   12    17        INIT_FCALL                                               'printf'
         18        SEND_VAL                                                 'Output+Buffering+was%3A+%25s%0A'
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
   13    21        INIT_FCALL                                               'printf'
         22        SEND_VAL                                                 'Implicit+Flush+was%3A+%25s%0A'
         23        SEND_VAR                                                 !0
         24        DO_ICALL                                                 
         25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.78 ms | 1395 KiB | 23 Q