3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'hello'; $r = deflate_init(ZLIB_ENCODING_GZIP); $out = deflate_add($r, $data, \ZLIB_FINISH); var_dump($data, $out);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ZOv6
function name:  (null)
number of ops:  16
compiled vars:  !0 = $data, !1 = $r, !2 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hello'
    4     1        INIT_FCALL                                               'deflate_init'
          2        SEND_VAL                                                 31
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'deflate_add'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 4
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.97 ms | 1398 KiB | 19 Q