3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'a:1:{s:8:"post_tag";a:5:{i:460;a:5:{s:11:"wpseo_title";s:8:"demodemo";s:10:"wpseo_desc";s:8:"demodemo";s:13:"wpseo_bctitle";s:8:"demodemo";s:13:"wpseo_noindex";s:7:"default";s:21:"wpseo_sitemap_include";s:1:"-";}i:459;a:5:{s:11:"wpseo_title";s:8:"testtest";s:10:"wpseo_desc";s:8:"testtest";s:13:"wpseo_bctitle";s:8:"testtest";s:13:"wpseo_noindex";s:7:"default";s:21:"wpseo_sitemap_include";s:1:"-";}i:462;a:5:{s:11:"wpseo_title";s:7:"bikey77";s:10:"wpseo_desc";s:7:"bikey77";s:13:"wpseo_bctitle";s:7:"bikey77";s:13:"wpseo_noindex";s:7:"default";s:21:"wpseo_sitemap_include";s:1:"-";}i:463;a:5:{s:11:"wpseo_title";s:7:"dimitra";s:10:"wpseo_desc";s:7:"dimitra";s:13:"wpseo_bctitle";s:7:"dimitra";s:13:"wpseo_noindex";s:7:"default";s:21:"wpseo_sitemap_include";s:1:"-";}i:464;a:5:{s:11:"wpseo_title";s:8:"dimitra1";s:10:"wpseo_desc";s:8:"dimitra1";s:13:"wpseo_bctitle";s:8:"dimitra1";s:13:"wpseo_noindex";s:7:"default";s:21:"wpseo_sitemap_include";s:1:"-";} }}'; $data = unserialize($str); echo count($data['post_tag']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cmttm
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%3A1%3A%7Bs%3A8%3A%22post_tag%22%3Ba%3A5%3A%7Bi%3A460%3Ba%3A5%3A%7Bs%3A11%3A%22wpseo_title%22%3Bs%3A8%3A%22demodemo%22%3Bs%3A10%3A%22wpseo_desc%22%3Bs%3A8%3A%22demodemo%22%3Bs%3A13%3A%22wpseo_bctitle%22%3Bs%3A8%3A%22demodemo%22%3Bs%3A13%3A%22wpseo_noindex%22%3Bs%3A7%3A%22default%22%3Bs%3A21%3A%22wpseo_sitemap_include%22%3Bs%3A1%3A%22-%22%3B%7Di%3A459%3Ba%3A5%3A%7Bs%3A11%3A%22wpseo_title%22%3Bs%3A8%3A%22testtest%22%3Bs%3A10%3A%22wpseo_desc%22%3Bs%3A8%3A%22testtest%22%3Bs%3A13%3A%22wpseo_bctitle%22%3Bs%3A8%3A%22testtest%22%3Bs%3A13%3A%22wpseo_noindex%22%3Bs%3A7%3A%22default%22%3Bs%3A21%3A%22wpseo_sitemap_include%22%3Bs%3A1%3A%22-%22%3B%7Di%3A462%3Ba%3A5%3A%7Bs%3A11%3A%22wpseo_title%22%3Bs%3A7%3A%22bikey77%22%3Bs%3A10%3A%22wpseo_desc%22%3Bs%3A7%3A%22bikey77%22%3Bs%3A13%3A%22wpseo_bctitle%22%3Bs%3A7%3A%22bikey77%22%3Bs%3A13%3A%22wpseo_noindex%22%3Bs%3A7%3A%22default%22%3Bs%3A21%3A%22wpseo_sitemap_include%22%3Bs%3A1%3A%22-%22%3B%7Di%3A463%3Ba%3A5%3A%7Bs%3A11%3A%22wpseo_title%22%3Bs%3A7%3A%22dimitra%22%3Bs%3A10%3A%22wpseo_desc%22%3Bs%3A7%3A%22dimitra%22%3Bs%3A13%3A%22wpseo_bctitle%22%3Bs%3A7%3A%22dimitra%22%3Bs%3A13%3A%22wpseo_noindex%22%3Bs%3A7%3A%22default%22%3Bs%3A21%3A%22wpseo_sitemap_include%22%3Bs%3A1%3A%22-%22%3B%7Di%3A464%3Ba%3A5%3A%7Bs%3A11%3A%22wpseo_title%22%3Bs%3A8%3A%22dimitra1%22%3Bs%3A10%3A%22wpseo_desc%22%3Bs%3A8%3A%22dimitra1%22%3Bs%3A13%3A%22wpseo_bctitle%22%3Bs%3A8%3A%22dimitra1%22%3Bs%3A13%3A%22wpseo_noindex%22%3Bs%3A7%3A%22default%22%3Bs%3A21%3A%22wpseo_sitemap_include%22%3Bs%3A1%3A%22-%22%3B%7D%0A%7D%7D'
    7     1        INIT_FCALL                                               'unserialize'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    8     5        FETCH_DIM_R                                      ~5      !1, 'post_tag'
          6        COUNT                                            ~6      ~5
          7        ECHO                                                     ~6
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.16 ms | 1445 KiB | 14 Q