3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //$str = "ryat\0".str_repeat('i',1024); //link('/in/01E2M','b'); $str = "/vmlinuz"; //var_dump(readlink($str)); var_dump(tempnam("/tmp", "FOOa\0/\0a")); //var_dump(basename("../"));
Output for 5.4.41 - 5.4.45, 5.5.25 - 5.5.35, 5.6.9 - 5.6.28, 7.0.0 - 7.1.0
Warning: tempnam() expects parameter 2 to be a valid path, string given in /in/BuJSP on line 8 NULL
Output for 5.3.4 - 5.3.29, hhvm-3.12.0
bool(false)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.8
string(11) "/tmp/mB5Cxi"
Output for 5.6.7
string(11) "/tmp/VHBT0a"
Output for 5.5.24
string(11) "/tmp/zv8Wkv"
Output for 5.4.40
string(11) "/tmp/Wu8SWy"
Output for 5.4.39
string(11) "/tmp/J92Ma4"
Output for 5.4.38
string(11) "/tmp/RA4qM9"
Output for 5.4.37
string(11) "/tmp/TeuLR2"
Output for 5.4.36
string(11) "/tmp/hoyaBB"
Output for 5.4.35
string(11) "/tmp/pP7387"
Output for 5.4.34
string(11) "/tmp/myjbwH"
Output for 5.4.32
string(11) "/tmp/wv5r8y"
Output for 5.4.31
string(11) "/tmp/SWQwGA"
Output for 5.4.30
string(11) "/tmp/eXBp9J"
Output for 5.4.29
string(11) "/tmp/B2EtYy"
Output for 5.4.28
string(11) "/tmp/qiprP8"
Output for 5.4.27
string(11) "/tmp/AGTFn5"
Output for 5.4.26
string(11) "/tmp/h3d3H3"
Output for 5.4.25
string(11) "/tmp/4xJtI6"
Output for 5.4.24
string(11) "/tmp/oXlni8"
Output for 5.4.23
string(11) "/tmp/xA9MGc"
Output for 5.4.22
string(11) "/tmp/ZWSnwf"
Output for 5.4.21
string(11) "/tmp/gsJdJl"
Output for 5.4.20
string(11) "/tmp/UMBM0m"
Output for 5.4.19
string(11) "/tmp/S3Wszs"
Output for 5.4.18
string(11) "/tmp/aYdOmv"
Output for 5.4.17
string(11) "/tmp/RAKnRp"
Output for 5.4.16
string(11) "/tmp/J3XdXq"
Output for 5.4.15
string(11) "/tmp/cP2K4w"
Output for 5.4.14
string(11) "/tmp/VMyXAx"
Output for 5.4.13
string(11) "/tmp/8pAhLD"
Output for 5.4.12
string(11) "/tmp/wjNp1G"
Output for 5.4.11
string(11) "/tmp/xbsWiH"
Output for 5.4.10
string(11) "/tmp/ZiCeBK"
Output for 5.4.9
string(11) "/tmp/zTh1rQ"
Output for 5.4.8
string(11) "/tmp/CMADaS"
Output for 5.4.7
string(11) "/tmp/3345CX"
Output for 5.4.6
string(11) "/tmp/WAnDo0"
Output for 5.4.5
string(11) "/tmp/rw2nS1"
Output for 5.4.4
string(11) "/tmp/ZllJW7"
Output for 5.4.3
string(11) "/tmp/3hwjr9"
Output for 5.4.2
string(11) "/tmp/hkmUye"
Output for 5.4.1
string(11) "/tmp/P0s3Mf"
Output for 5.4.0
string(11) "/tmp/QSfw4l"
Output for 5.3.3
string(11) "/tmp/cjSKqw"
Output for 5.3.2
string(11) "/tmp/ZX3Ybz"
Output for 5.3.1
string(11) "/tmp/yVDWIA"
Output for 5.3.0
string(11) "/tmp/FsUaNF"
Output for 5.2.17
string(11) "/tmp/NhRL9I"
Output for 5.2.16
string(11) "/tmp/qZanuL"
Output for 5.2.15
string(11) "/tmp/Qkvv5L"
Output for 5.2.14
string(11) "/tmp/xI257O"
Output for 5.2.13
string(11) "/tmp/Bfx7NU"
Output for 5.2.12
string(11) "/tmp/NUZVIX"
Output for 5.2.11
string(11) "/tmp/Ry4bfZ"
Output for 5.2.10
string(11) "/tmp/zsHZV1"
Output for 5.2.9
string(11) "/tmp/Zh4T43"
Output for 5.2.8
string(11) "/tmp/2z7kr9"
Output for 5.2.7
string(11) "/tmp/xe1WMc"
Output for 5.2.6
string(11) "/tmp/E4fgQe"
Output for 5.2.5
string(11) "/tmp/l56N8f"
Output for 5.2.4
string(11) "/tmp/nXw2di"
Output for 5.2.3
string(11) "/tmp/10pjul"
Output for 5.2.2
string(11) "/tmp/vICjBn"
Output for 5.2.1
string(11) "/tmp/SNUF5s"
Output for 5.2.0
string(11) "/tmp/4eVIFu"
Output for 5.1.6
string(11) "/tmp/JbsWDy"
Output for 5.1.5
string(11) "/tmp/Eh0E0A"
Output for 5.1.4
string(11) "/tmp/euFbwD"
Output for 5.1.3
string(11) "/tmp/1HnpWF"
Output for 5.1.2
string(15) "/tmp/FOOa3o7izw"
Output for 5.1.1
string(15) "/tmp/FOOaUwVbzz"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/BuJSP on line 9
Process exited with code 255.
Output for 5.0.5
string(15) "/tmp/FOOaqMBGlD"
Output for 5.0.4
string(15) "/tmp/FOOadfenzH"
Output for 5.0.3
string(15) "/tmp/FOOax8dwfK"
Output for 5.0.2
string(15) "/tmp/FOOaAlVwMM"
Output for 5.0.1
string(15) "/tmp/FOOaWiHdzO"
Output for 5.0.0
string(15) "/tmp/FOOa5k1ngR"
Output for 4.4.9
string(15) "/tmp/FOOar8YexQ"
Output for 4.4.8
string(15) "/tmp/FOOaVRGLhS"
Output for 4.4.7
string(15) "/tmp/FOOaKyNVJW"
Output for 4.4.6
string(15) "/tmp/FOOaKuycoV"
Output for 4.4.5
string(15) "/tmp/FOOatJtqqX"
Output for 4.4.4
string(15) "/tmp/FOOawHPmv1"
Output for 4.4.3
string(15) "/tmp/FOOaXrhKC3"
Output for 4.4.2
string(15) "/tmp/FOOaT7kEe2"
Output for 4.4.1
string(15) "/tmp/FOOaVnDyG6"
Output for 4.4.0
string(15) "/tmp/FOOag3WgV8"
Output for 4.3.11
string(15) "/tmp/FOOa2Qq8v7"
Output for 4.3.10
string(15) "/tmp/FOOarXKRE9"
Output for 4.3.9
string(15) "/tmp/FOOaxIl0qd"
Output for 4.3.8
string(15) "/tmp/FOOaXQs3If"
Output for 4.3.7
string(15) "/tmp/FOOaq5QLoe"
Output for 4.3.6
string(15) "/tmp/FOOae7if4h"
Output for 4.3.5
string(15) "/tmp/FOOaRqtfph"
Output for 4.3.4
string(15) "/tmp/FOOaC7dVUj"
Output for 4.3.3
string(15) "/tmp/FOOaMpbQZl"
Output for 4.3.2
string(15) "/tmp/FOOaoiuujp"
Output for 4.3.1
string(15) "/tmp/FOOaiIkXZo"
Output for 4.3.0
string(15) "/tmp/FOOa7u7guR"