3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $donut = array("Adı" => false, "açıklama" => false, "kurulum" => false, "kaldırma" => false, "onayDurumu" => 2); $degiskenler = array("adı" => "Modül Adı:"); $line = "// Modül Adı: Denek kod "; foreach ($donut as $varAd => $var){ echo "Deneme:".$varAd." ... Arama Sonucu: """; if (strpos($line, $varAd) == 0 or strpos($line,$varAd)){ $donut[$varAd] = substr($line, strpos($line, $varAd) + strlen($varAd) + 1); echo $donut[$varAd]; } echo """ | "; } ?>
Output for 5.4.18
Parse error: syntax error, unexpected '""' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/TRdJ2 on line 6
Process exited with code 255.
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected '""' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/CkaU6 on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /in/CkaU6 on line 6
Process exited with code 255.