3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Topics {} // encode $array = new Topics(); $encode = (serialize($array)); echo $encode, PHP_EOL; echo base64_encode(gzcompress($encode)), PHP_EOL, PHP_EOL, PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3XQ1A
function name:  (null)
number of ops:  20
compiled vars:  !0 = $array, !1 = $encode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $2      'Topics'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    6     3        INIT_FCALL                                               'serialize'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    7     7        ECHO                                                     !1
          8        ECHO                                                     '%0A'
    8     9        INIT_FCALL                                               'base64_encode'
         10        INIT_FCALL                                               'gzcompress'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                         $8      
         15        ECHO                                                     $8
         16        ECHO                                                     '%0A'
         17        ECHO                                                     '%0A'
         18        ECHO                                                     '%0A'
         19      > RETURN                                                   1

Class Topics: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.01 ms | 1386 KiB | 19 Q