3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set("display_errors",1); // true var_dump(in_array('zlib', get_loaded_extensions())); // true var_dump(in_array('gzcompress', get_extension_funcs('zlib')) ); // true var_dump(function_exists('gzcompress')); // true var_dump(is_callable('gzcompress')); // and the problem call // no output here, no message in apache log, not even system log, // no error/warning/notice/etc var_dump(gzcompress('some string test')); // dont get to this part var_dump('end line'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v46WU
function name:  (null)
number of ops:  48
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 1
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'in_array'
          9        SEND_VAL                                                 'zlib'
         10        INIT_FCALL                                               'get_loaded_extensions'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'in_array'
         18        SEND_VAL                                                 'gzcompress'
         19        INIT_FCALL                                               'get_extension_funcs'
         20        SEND_VAL                                                 'zlib'
         21        DO_ICALL                                         $5      
         22        SEND_VAR                                                 $5
         23        DO_ICALL                                         $6      
         24        SEND_VAR                                                 $6
         25        DO_ICALL                                                 
   11    26        INIT_FCALL                                               'var_dump'
         27        INIT_FCALL                                               'function_exists'
         28        SEND_VAL                                                 'gzcompress'
         29        DO_ICALL                                         $8      
         30        SEND_VAR                                                 $8
         31        DO_ICALL                                                 
   13    32        INIT_FCALL                                               'var_dump'
         33        INIT_FCALL                                               'is_callable'
         34        SEND_VAL                                                 'gzcompress'
         35        DO_ICALL                                         $10     
         36        SEND_VAR                                                 $10
         37        DO_ICALL                                                 
   18    38        INIT_FCALL                                               'var_dump'
         39        INIT_FCALL                                               'gzcompress'
         40        SEND_VAL                                                 'some+string+test'
         41        DO_ICALL                                         $12     
         42        SEND_VAR                                                 $12
         43        DO_ICALL                                                 
   20    44        INIT_FCALL                                               'var_dump'
         45        SEND_VAL                                                 'end+line'
         46        DO_ICALL                                                 
   21    47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163 ms | 1400 KiB | 31 Q