3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s='o:0:"}'; var_dump(unserialize($s)); $brace = strpos( $s, '}' ); echo($brace);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EmSu1
function name:  (null)
number of ops:  14
compiled vars:  !0 = $s, !1 = $brace
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'o%3A0%3A%22%7D'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'unserialize'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        SEND_VAR                                                 $3
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 '%7D'
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    5    12        ECHO                                                     !1
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.72 ms | 1394 KiB | 19 Q