3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tmp1=tempnam("/tmp", "prvieval"); $tmp2=tempnam("/tmp", "drugieval"); $cntnt='base64_decode("ZWNobyAnYSc7")'; echo "xxxxx"; echo '<?php file_put_contents("' . $tmp2 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'; echo "yyyyy"; file_put_contents($tmp1, '<?php file_put_contents("' . $tmp2 . '","<?php ' . base64_decode("ZWNobyAnYSc7") . ';");'); echo file_get_contents($tmp1); echo "-----"; include($tmp1); include($tmp2);
Output for 7.2.0
xxxxx<?php file_put_contents("/tmp/drugievalxjkcpw","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalxjkcpw","<?php echo 'a';;");-----a
Output for 7.1.10
xxxxx<?php file_put_contents("/tmp/drugievalK9mD5u","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalK9mD5u","<?php echo 'a';;");-----a
Output for 7.1.7
xxxxx<?php file_put_contents("/tmp/drugievalWIxLEU","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalWIxLEU","<?php echo 'a';;");-----a
Output for 7.1.6
xxxxx<?php file_put_contents("/tmp/drugievalBFRjeE","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBFRjeE","<?php echo 'a';;");-----a
Output for 7.1.5
xxxxx<?php file_put_contents("/tmp/drugieval6bGSAR","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval6bGSAR","<?php echo 'a';;");-----a
Output for 7.1.0
xxxxx<?php file_put_contents("/tmp/drugievalBoB7t9","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBoB7t9","<?php echo 'a';;");-----a
Output for 7.0.20
xxxxx<?php file_put_contents("/tmp/drugievalKOuP63","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalKOuP63","<?php echo 'a';;");-----a
Output for 7.0.6
xxxxx<?php file_put_contents("/tmp/drugievalE9kgLe","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalE9kgLe","<?php echo 'a';;");-----a
Output for 7.0.5
xxxxx<?php file_put_contents("/tmp/drugieval0rzZvT","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval0rzZvT","<?php echo 'a';;");-----a
Output for 7.0.4
xxxxx<?php file_put_contents("/tmp/drugieval2WCuRn","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval2WCuRn","<?php echo 'a';;");-----a
Output for 7.0.3
xxxxx<?php file_put_contents("/tmp/drugievalSnOq2a","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalSnOq2a","<?php echo 'a';;");-----a
Output for 7.0.2
xxxxx<?php file_put_contents("/tmp/drugievalVC5Z28","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalVC5Z28","<?php echo 'a';;");-----a
Output for 7.0.1
xxxxx<?php file_put_contents("/tmp/drugieval5i5pp2","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval5i5pp2","<?php echo 'a';;");-----a
Output for 7.0.0
xxxxx<?php file_put_contents("/tmp/drugieval8oam0e","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval8oam0e","<?php echo 'a';;");-----a
Output for 5.6.28
xxxxx<?php file_put_contents("/tmp/drugievalZQn4mu","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalZQn4mu","<?php echo 'a';;");-----a
Output for 5.6.21
xxxxx<?php file_put_contents("/tmp/drugievalwSroNM","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalwSroNM","<?php echo 'a';;");-----a
Output for 5.6.20
xxxxx<?php file_put_contents("/tmp/drugieval4pmngI","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval4pmngI","<?php echo 'a';;");-----a
Output for 5.6.19
xxxxx<?php file_put_contents("/tmp/drugievalvfhLBU","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalvfhLBU","<?php echo 'a';;");-----a
Output for 5.6.18
xxxxx<?php file_put_contents("/tmp/drugievalifnIDT","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalifnIDT","<?php echo 'a';;");-----a
Output for 5.6.17
xxxxx<?php file_put_contents("/tmp/drugievalczzUyu","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalczzUyu","<?php echo 'a';;");-----a
Output for 5.6.16
xxxxx<?php file_put_contents("/tmp/drugieval17bYV3","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval17bYV3","<?php echo 'a';;");-----a
Output for 5.6.15
xxxxx<?php file_put_contents("/tmp/drugievalhU9bWE","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalhU9bWE","<?php echo 'a';;");-----a
Output for 5.6.14
xxxxx<?php file_put_contents("/tmp/drugievalar2N63","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalar2N63","<?php echo 'a';;");-----a
Output for 5.6.13
xxxxx<?php file_put_contents("/tmp/drugievalWZSbjo","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalWZSbjo","<?php echo 'a';;");-----a
Output for 5.6.12
xxxxx<?php file_put_contents("/tmp/drugievalgFQSBR","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalgFQSBR","<?php echo 'a';;");-----a
Output for 5.6.11
xxxxx<?php file_put_contents("/tmp/drugievalxKePpt","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalxKePpt","<?php echo 'a';;");-----a
Output for 5.6.10
xxxxx<?php file_put_contents("/tmp/drugievalNihiPp","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalNihiPp","<?php echo 'a';;");-----a
Output for 5.6.9
xxxxx<?php file_put_contents("/tmp/drugievalCgBWbN","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalCgBWbN","<?php echo 'a';;");-----a
Output for 5.6.8
xxxxx<?php file_put_contents("/tmp/drugievali96qlI","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievali96qlI","<?php echo 'a';;");-----a
Output for 5.5.35
xxxxx<?php file_put_contents("/tmp/drugievalBFEidR","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBFEidR","<?php echo 'a';;");-----a
Output for 5.5.34
xxxxx<?php file_put_contents("/tmp/drugievalMDYdqO","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalMDYdqO","<?php echo 'a';;");-----a
Output for 5.5.33
xxxxx<?php file_put_contents("/tmp/drugievalmqy2R0","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalmqy2R0","<?php echo 'a';;");-----a
Output for 5.5.32
xxxxx<?php file_put_contents("/tmp/drugievaltAfQ8p","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievaltAfQ8p","<?php echo 'a';;");-----a
Output for 5.5.31
xxxxx<?php file_put_contents("/tmp/drugievalWngYoE","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalWngYoE","<?php echo 'a';;");-----a
Output for 5.5.30
xxxxx<?php file_put_contents("/tmp/drugievalyJF3wI","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalyJF3wI","<?php echo 'a';;");-----a
Output for 5.5.29
xxxxx<?php file_put_contents("/tmp/drugieval8hzfPE","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval8hzfPE","<?php echo 'a';;");-----a
Output for 5.5.28
xxxxx<?php file_put_contents("/tmp/drugievaluarvc6","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievaluarvc6","<?php echo 'a';;");-----a
Output for 5.5.27
xxxxx<?php file_put_contents("/tmp/drugievalOsQjXB","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalOsQjXB","<?php echo 'a';;");-----a
Output for 5.5.26
xxxxx<?php file_put_contents("/tmp/drugievalHljt0w","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalHljt0w","<?php echo 'a';;");-----a
Output for 5.5.25
xxxxx<?php file_put_contents("/tmp/drugievalJKIgxu","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalJKIgxu","<?php echo 'a';;");-----a
Output for 5.5.24
xxxxx<?php file_put_contents("/tmp/drugievalRGXkjy","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalRGXkjy","<?php echo 'a';;");-----a
Output for 5.4.45
xxxxx<?php file_put_contents("/tmp/drugievalOHaeuT","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalOHaeuT","<?php echo 'a';;");-----a
Output for 5.4.44
xxxxx<?php file_put_contents("/tmp/drugievalWr4E2w","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalWr4E2w","<?php echo 'a';;");-----a
Output for 5.4.43
xxxxx<?php file_put_contents("/tmp/drugievalHeFcht","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalHeFcht","<?php echo 'a';;");-----a
Output for 5.4.42
xxxxx<?php file_put_contents("/tmp/drugievalWaXrGS","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalWaXrGS","<?php echo 'a';;");-----a
Output for 5.4.41
xxxxx<?php file_put_contents("/tmp/drugievalLKPAmx","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalLKPAmx","<?php echo 'a';;");-----a
Output for 5.4.40
xxxxx<?php file_put_contents("/tmp/drugieval80y22m","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval80y22m","<?php echo 'a';;");-----a
Output for 5.4.39
xxxxx<?php file_put_contents("/tmp/drugievalXrdQCf","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalXrdQCf","<?php echo 'a';;");-----a
Output for 5.4.38
xxxxx<?php file_put_contents("/tmp/drugievalF7GLZs","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalF7GLZs","<?php echo 'a';;");-----a
Output for 5.4.37
xxxxx<?php file_put_contents("/tmp/drugievalhqPFUb","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalhqPFUb","<?php echo 'a';;");-----a
Output for 5.4.36
xxxxx<?php file_put_contents("/tmp/drugievalzkyV5C","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalzkyV5C","<?php echo 'a';;");-----a
Output for 5.4.35
xxxxx<?php file_put_contents("/tmp/drugieval2ulrd2","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval2ulrd2","<?php echo 'a';;");-----a
Output for 5.4.34
xxxxx<?php file_put_contents("/tmp/drugievalUHnAUK","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalUHnAUK","<?php echo 'a';;");-----a
Output for 5.4.32
xxxxx<?php file_put_contents("/tmp/drugievalfnPJaI","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalfnPJaI","<?php echo 'a';;");-----a
Output for 5.4.31
xxxxx<?php file_put_contents("/tmp/drugievalX3gwQT","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalX3gwQT","<?php echo 'a';;");-----a
Output for 5.4.30
xxxxx<?php file_put_contents("/tmp/drugievalBoo9oq","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBoo9oq","<?php echo 'a';;");-----a
Output for 5.4.29
xxxxx<?php file_put_contents("/tmp/drugievalGEtGMD","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalGEtGMD","<?php echo 'a';;");-----a
Output for 5.4.28
xxxxx<?php file_put_contents("/tmp/drugievalztGf9R","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalztGf9R","<?php echo 'a';;");-----a
Output for 5.4.27
xxxxx<?php file_put_contents("/tmp/drugievalOQQrdd","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalOQQrdd","<?php echo 'a';;");-----a
Output for 5.4.26
xxxxx<?php file_put_contents("/tmp/drugievalCFdNtz","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalCFdNtz","<?php echo 'a';;");-----a
Output for 5.4.25
xxxxx<?php file_put_contents("/tmp/drugievalktUKKN","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalktUKKN","<?php echo 'a';;");-----a
Output for 5.4.24
xxxxx<?php file_put_contents("/tmp/drugievalqtNPao","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalqtNPao","<?php echo 'a';;");-----a
Output for 5.4.23
xxxxx<?php file_put_contents("/tmp/drugievalTXZ26z","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalTXZ26z","<?php echo 'a';;");-----a
Output for 5.4.22
xxxxx<?php file_put_contents("/tmp/drugievalr55Ov7","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalr55Ov7","<?php echo 'a';;");-----a
Output for 5.4.21
xxxxx<?php file_put_contents("/tmp/drugievalhx3Qwh","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalhx3Qwh","<?php echo 'a';;");-----a
Output for 5.4.20
xxxxx<?php file_put_contents("/tmp/drugievalObwalH","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalObwalH","<?php echo 'a';;");-----a
Output for 5.4.19
xxxxx<?php file_put_contents("/tmp/drugievalkvHpP5","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalkvHpP5","<?php echo 'a';;");-----a
Output for 5.4.18
xxxxx<?php file_put_contents("/tmp/drugievalr7QoAs","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalr7QoAs","<?php echo 'a';;");-----a
Output for 5.4.17
xxxxx<?php file_put_contents("/tmp/drugievaldYjp2W","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievaldYjp2W","<?php echo 'a';;");-----a
Output for 5.4.16
xxxxx<?php file_put_contents("/tmp/drugievalA3aKni","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalA3aKni","<?php echo 'a';;");-----a
Output for 5.4.15
xxxxx<?php file_put_contents("/tmp/drugieval0cuhgs","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval0cuhgs","<?php echo 'a';;");-----a
Output for 5.4.14
xxxxx<?php file_put_contents("/tmp/drugievallYTldV","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievallYTldV","<?php echo 'a';;");-----a
Output for 5.4.13
xxxxx<?php file_put_contents("/tmp/drugievalcDN016","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalcDN016","<?php echo 'a';;");-----a
Output for 5.4.12
xxxxx<?php file_put_contents("/tmp/drugievalnFtFte","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalnFtFte","<?php echo 'a';;");-----a
Output for 5.4.11
xxxxx<?php file_put_contents("/tmp/drugievalAQFfFL","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalAQFfFL","<?php echo 'a';;");-----a
Output for 5.3.29
xxxxx<?php file_put_contents("/tmp/drugieval7EspRJ","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugieval7EspRJ","<?php echo 'a';;");-----a
Output for 5.3.28
xxxxx<?php file_put_contents("/tmp/drugievalBm6nbX","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBm6nbX","<?php echo 'a';;");-----a
Output for 5.3.27
xxxxx<?php file_put_contents("/tmp/drugievalhLuwyM","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalhLuwyM","<?php echo 'a';;");-----a
Output for 5.3.26
xxxxx<?php file_put_contents("/tmp/drugievalTJvvU8","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalTJvvU8","<?php echo 'a';;");-----a
Output for 5.3.25
xxxxx<?php file_put_contents("/tmp/drugievalQCVRmC","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalQCVRmC","<?php echo 'a';;");-----a
Output for 5.3.24
xxxxx<?php file_put_contents("/tmp/drugievalBRPQlM","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalBRPQlM","<?php echo 'a';;");-----a
Output for 5.3.23
xxxxx<?php file_put_contents("/tmp/drugievalOy0E83","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalOy0E83","<?php echo 'a';;");-----a
Output for 5.3.22
xxxxx<?php file_put_contents("/tmp/drugievalzNFrlo","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalzNFrlo","<?php echo 'a';;");-----a
Output for 5.3.21
xxxxx<?php file_put_contents("/tmp/drugievalmnuxVB","<?php echo 'a';;");yyyyy<?php file_put_contents("/tmp/drugievalmnuxVB","<?php echo 'a';;");-----a