3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode('{"preset": "default", "configPreset": "50 threads", "parsers": [ [ "SE::Google", "1 page, 100 links, 200 retries" ] ], "resultsFormat": "$p1.serp.format(\'$query : $link\\n\')", "resultsSaveTo": "file", "resultsFileName": "sites.txt", "additionalFormats": [], "resultsUnique": "no", "queriesFrom": "text", "queryFormat": [ "[% topicQuery(query.query, \"idol 5,idol 5s,alcatel a5\") %]" ], "uniqueQueries": false, "saveFailedQueries": false, "iteratorOptions": { "onAllLevels": false, "queryBuildersAfterIterator": false, "queryBuildersOnAllLevels": false }, "resultsOptions": { "overwrite": true }, "doLog": "db", "keepUnique": "No", "moreOptions": false, "resultsPrepend": "", "resultsAppend": "", "queryBuilders": [], "resultsBuilders": [], "configOverrides": [], "runTaskOnComplete": "default", "useResultsFileAsQueriesFile": false, "runTaskOnCompleteConfig": "default", "toolsJS": "", "prio": 5, "removeOnComplete": false, "callURLOnComplete": "", "queries": "1 https://www.gsmarena.com\n2 https://www.mobile-review.com" }'));
based on RUm5B
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0beta1
object(stdClass)#1 (30) { ["preset"]=> string(7) "default" ["configPreset"]=> string(10) "50 threads" ["parsers"]=> array(1) { [0]=> array(2) { [0]=> string(10) "SE::Google" [1]=> string(30) "1 page, 100 links, 200 retries" } } ["resultsFormat"]=> string(34) "$p1.serp.format('$query : $link ')" ["resultsSaveTo"]=> string(4) "file" ["resultsFileName"]=> string(9) "sites.txt" ["additionalFormats"]=> array(0) { } ["resultsUnique"]=> string(2) "no" ["queriesFrom"]=> string(4) "text" ["queryFormat"]=> array(1) { [0]=> string(58) "[% topicQuery(query.query, "idol 5,idol 5s,alcatel a5") %]" } ["uniqueQueries"]=> bool(false) ["saveFailedQueries"]=> bool(false) ["iteratorOptions"]=> object(stdClass)#2 (3) { ["onAllLevels"]=> bool(false) ["queryBuildersAfterIterator"]=> bool(false) ["queryBuildersOnAllLevels"]=> bool(false) } ["resultsOptions"]=> object(stdClass)#3 (1) { ["overwrite"]=> bool(true) } ["doLog"]=> string(2) "db" ["keepUnique"]=> string(2) "No" ["moreOptions"]=> bool(false) ["resultsPrepend"]=> string(0) "" ["resultsAppend"]=> string(0) "" ["queryBuilders"]=> array(0) { } ["resultsBuilders"]=> array(0) { } ["configOverrides"]=> array(0) { } ["runTaskOnComplete"]=> string(7) "default" ["useResultsFileAsQueriesFile"]=> bool(false) ["runTaskOnCompleteConfig"]=> string(7) "default" ["toolsJS"]=> string(0) "" ["prio"]=> int(5) ["removeOnComplete"]=> bool(false) ["callURLOnComplete"]=> string(0) "" ["queries"]=> string(58) "1 https://www.gsmarena.com 2 https://www.mobile-review.com" }