3v4l.org

run code in 500+ PHP versions simultaneously
<?php class a { } class b { } $as = 'O:1:"a":0:{}'; $bs = 'O:1:"b":0:{}'; var_dump(unserialize($as, array('allowed_asss' => 'a') )); var_dump(unserialize($bs, array('allowed_asss' => 'a') ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AV3Qi
function name:  (null)
number of ops:  17
compiled vars:  !0 = $as, !1 = $bs
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   11     0  E >   ASSIGN                                                       !0, 'O%3A1%3A%22a%22%3A0%3A%7B%7D'
   12     1        ASSIGN                                                       !1, 'O%3A1%3A%22b%22%3A0%3A%7B%7D'
   15     2        INIT_FCALL                                                   'var_dump'
          3        INIT_FCALL                                                   'unserialize'
          4        SEND_VAR                                                     !0
          5        SEND_VAL                                                     <array>
          6        DO_ICALL                                             $4      
          7        SEND_VAR                                                     $4
          8        DO_ICALL                                                     
   16     9        INIT_FCALL                                                   'var_dump'
         10        INIT_FCALL                                                   'unserialize'
         11        SEND_VAR                                                     !1
         12        SEND_VAL                                                     <array>
         13        DO_ICALL                                             $6      
         14        SEND_VAR                                                     $6
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Class a: [no user functions]
Class b: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
122.71 ms | 478 KiB | 9 Q