3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pagecaching = 'a:1:{i:0;a:4:{s:6:\"option\";s:1:\"0\";s:5:\"pages\";s:170:\"user*\r\nnode/add/*\r\nnode/*/edit\r\nnode/*/track\r\ntracker*\r\ncomment/edit*\r\ncivicrm*\r\ncart*\r\ncheckout*\r\nsystem/files/*\r\nsystem/temporary*\r\nfile/ajax/*\r\njs/admin_menu/cache/*\r\n\";s:7:\"noadmin\";i:1;s:5:\"roles\";a:2:{s:6:\"custom\";s:1:\"1\";s:5:\"roles\";a:3:{i:1;s:1:\"1\";i:2;s:1:\"2\";i:4;s:1:\"4\";}}}}'; $pagec = array('roles'=> array('custom'=>'1', 'roles'=>array('1','2','4'))); echo serialize($pagec); $obj = unserialize($pagecaching); var_dump($obj);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qNVDn
function name:  (null)
number of ops:  14
compiled vars:  !0 = $pagecaching, !1 = $pagec, !2 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A1%3A%7Bi%3A0%3Ba%3A4%3A%7Bs%3A6%3A%5C%22option%5C%22%3Bs%3A1%3A%5C%220%5C%22%3Bs%3A5%3A%5C%22pages%5C%22%3Bs%3A170%3A%5C%22user%2A%5Cr%5Cnnode%2Fadd%2F%2A%5Cr%5Cnnode%2F%2A%2Fedit%5Cr%5Cnnode%2F%2A%2Ftrack%5Cr%5Cntracker%2A%5Cr%5Cncomment%2Fedit%2A%5Cr%5Cncivicrm%2A%5Cr%5Cncart%2A%5Cr%5Cncheckout%2A%5Cr%5Cnsystem%2Ffiles%2F%2A%5Cr%5Cnsystem%2Ftemporary%2A%5Cr%5Cnfile%2Fajax%2F%2A%5Cr%5Cnjs%2Fadmin_menu%2Fcache%2F%2A%5Cr%5Cn%5C%22%3Bs%3A7%3A%5C%22noadmin%5C%22%3Bi%3A1%3Bs%3A5%3A%5C%22roles%5C%22%3Ba%3A2%3A%7Bs%3A6%3A%5C%22custom%5C%22%3Bs%3A1%3A%5C%221%5C%22%3Bs%3A5%3A%5C%22roles%5C%22%3Ba%3A3%3A%7Bi%3A1%3Bs%3A1%3A%5C%221%5C%22%3Bi%3A2%3Bs%3A1%3A%5C%222%5C%22%3Bi%3A4%3Bs%3A1%3A%5C%224%5C%22%3B%7D%7D%7D%7D'
    5     1        ASSIGN                                                   !1, <array>
    7     2        INIT_FCALL                                               'serialize'
          3        SEND_VAR                                                 !1
          4        DO_ICALL                                         $5      
          5        ECHO                                                     $5
    9     6        INIT_FCALL                                               'unserialize'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
   11    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
190.13 ms | 1400 KiB | 19 Q