<?php
$str = "<script type=\"text/javascript\">window.__SSR = {c: 4.0 ,a:'bubble',at:'AEIZW7S3CiwUZpKFplucufp1S75czZfe7PDBMpufR3QOooDxSNPmiusSbaINjcoPuvLChUdeNZgkvRcNSgoxZYdhiOosGA0T4AlA2j0ithD61L+XQgfIXIQ\x3d',ld:[,[2,4,[]
,1,106]
]
,s:'widget',annd: 2.0 ,bp: {}, id:'https:\/\/github.com\/eyecatchup\/SEOstats\/'}; document.addEventListener && document.addEventListener('DOMContentLoaded', function () {gapi.inline.tick('wdc', new Date().getTime());}, false);</script>";
preg_match_all('/window\.__SSR\s\=\s\{c: (\d+?)\./', $str, $m)
var_dump($m);
- Output for 5.4.0 - 5.4.24
- Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/nMa7T on line 10
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_STRING in /in/nMa7T on line 10
Process exited with code 255.
preferences:
177.86 ms | 1395 KiB | 61 Q