3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(decbin(ord(gzcompress("foo"))), "foo"); var_dump(decbin(ord(gzcompress("fdoo"))), "foo"); var_dump(decbin(ord(gzcompress("fsoo"))), "foo");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UDRis
function name:  (null)
number of ops:  40
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'decbin'
          2        INIT_FCALL                                               'ord'
          3        INIT_FCALL                                               'gzcompress'
          4        SEND_VAL                                                 'foo'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        SEND_VAL                                                 'foo'
         12        DO_ICALL                                                 
    4    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'decbin'
         15        INIT_FCALL                                               'ord'
         16        INIT_FCALL                                               'gzcompress'
         17        SEND_VAL                                                 'fdoo'
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                         $5      
         21        SEND_VAR                                                 $5
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        SEND_VAL                                                 'foo'
         25        DO_ICALL                                                 
    5    26        INIT_FCALL                                               'var_dump'
         27        INIT_FCALL                                               'decbin'
         28        INIT_FCALL                                               'ord'
         29        INIT_FCALL                                               'gzcompress'
         30        SEND_VAL                                                 'fsoo'
         31        DO_ICALL                                         $8      
         32        SEND_VAR                                                 $8
         33        DO_ICALL                                         $9      
         34        SEND_VAR                                                 $9
         35        DO_ICALL                                         $10     
         36        SEND_VAR                                                 $10
         37        SEND_VAL                                                 'foo'
         38        DO_ICALL                                                 
         39      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.04 ms | 1400 KiB | 21 Q