3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set('zlib.output_compression', '1'); ob_start(); echo("CUCU"); $output = ob_get_contents(); echo($output); ini_set('zlib.output_compression', '2'); //ob_end_clean(); ob_end_flush();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/28Enm
function name:  (null)
number of ops:  18
compiled vars:  !0 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'ini_set'
          1        SEND_VAL                                                 'zlib.output_compression'
          2        SEND_VAL                                                 '1'
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'ob_start'
          5        DO_ICALL                                                 
    4     6        ECHO                                                     'CUCU'
    5     7        INIT_FCALL                                               'ob_get_contents'
          8        DO_ICALL                                         $3      
          9        ASSIGN                                                   !0, $3
    6    10        ECHO                                                     !0
    8    11        INIT_FCALL                                               'ini_set'
         12        SEND_VAL                                                 'zlib.output_compression'
         13        SEND_VAL                                                 '2'
         14        DO_ICALL                                                 
   13    15        INIT_FCALL                                               'ob_end_flush'
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.3 ms | 1394 KiB | 21 Q