3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function findVar($var, $url){ if(strpos($data, $var) == false) return false; $data = file_get_contents($url); $len = strlen($var) + 2; $start = strpos($data, $var."='") + $len; $stop = strpos($data, "'", $start); $val = substr($data, $start, ($stop-$start)); return $val; } echo findVar('indicatorText', 'http://ajax.googleapis.com/ajax/libs/ext-core/3.1.0/ext-core.js');
based on 1RQ06
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: data in /in/RDqFR on line 4
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: data in /in/RDqFR on line 4