3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { private $bar = 42; } $s = serialize(new Foo); var_dump($s); var_dump(urlencode($s));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R6Y6k
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                                   'serialize'
          1        NEW                                                  $1      'Foo'
          2        DO_FCALL                                          0          
          3        SEND_VAR                                                     $1
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !0, $3
    8     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !0
          8        DO_ICALL                                                     
    9     9        INIT_FCALL                                                   'var_dump'
         10        INIT_FCALL                                                   'urlencode'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                             $6      
         13        SEND_VAR                                                     $6
         14        DO_ICALL                                                     
         15      > RETURN                                                       1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.61 ms | 2689 KiB | 16 Q