3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: text/html; charset=utf-8'); $serializedStr = 'a:1:{i:0;O:8:"stdClass":4:{s:7:"created";b:0;s:6:"errors";a:1:{i:0;O:8:"stdClass":2:{s:7:"message";s:90:"Cannot Change Lead Status from pitch scheduled, until all todays appointments are resolved";s:10:"statusCode";s:33:"FIELD_CUSTOM_VALIDATION_EXCEPTION";}}s:2:"id";N;s:7:"success";b:0;}'; //$data = preg_replace('!s:(\d+):"(.*?)";!e', "'s:'.strlen('$2').':\"$2\";'", $serializedStr); var_dump(unserialize($serializedStr)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LF1KA
function name:  (null)
number of ops:  11
compiled vars:  !0 = $serializedStr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+text%2Fhtml%3B+charset%3Dutf-8'
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, 'a%3A1%3A%7Bi%3A0%3BO%3A8%3A%22stdClass%22%3A4%3A%7Bs%3A7%3A%22created%22%3Bb%3A0%3Bs%3A6%3A%22errors%22%3Ba%3A1%3A%7Bi%3A0%3BO%3A8%3A%22stdClass%22%3A2%3A%7Bs%3A7%3A%22message%22%3Bs%3A90%3A%22Cannot+Change+Lead+Status+from+pitch+scheduled%2C+until+all+todays+appointments+are+resolved%22%3Bs%3A10%3A%22statusCode%22%3Bs%3A33%3A%22FIELD_CUSTOM_VALIDATION_EXCEPTION%22%3B%7D%7Ds%3A2%3A%22id%22%3BN%3Bs%3A7%3A%22success%22%3Bb%3A0%3B%7D'
    5     4        INIT_FCALL                                               'var_dump'
          5        INIT_FCALL                                               'unserialize'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.12 ms | 1394 KiB | 19 Q