3v4l.org

run code in 300+ PHP versions simultaneously
<?php $className = "SplFileInfo"; //$reflection = new ReflectionClass(); //$instance = $reflection->newInstanceWithoutConstructor(); $serializedString = sprintf( '%s:%d:"%s":0:{}', 'O', strlen($className), $className ); unserialize($serializedString);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/X9DZ4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $className, !1 = $serializedString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'SplFileInfo'
    7     1        INIT_FCALL                                               'sprintf'
    8     2        SEND_VAL                                                 '%25s%3A%25d%3A%22%25s%22%3A0%3A%7B%7D'
    9     3        SEND_VAL                                                 'O'
   10     4        STRLEN                                           ~3      !0
          5        SEND_VAL                                                 ~3
   11     6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
    7     8        ASSIGN                                                   !1, $4
   13     9        INIT_FCALL                                               'unserialize'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.88 ms | 1394 KiB | 17 Q