3v4l.org

run code in 200+ 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\0aaa"));
Output for 5.4.41 - 5.4.45, 5.5.25 - 5.5.35, 5.6.9 - 7.2.0
Warning: tempnam() expects parameter 2 to be a valid path, string given in /in/LP6Ns on line 8 NULL
Output for 5.6.8
string(15) "/tmp/FOOay3iaTy"
Output for 5.6.7
string(15) "/tmp/FOOaw1PumR"
Output for 5.5.24
string(15) "/tmp/FOOa18TLRS"
Output for 5.4.40
string(15) "/tmp/FOOa12r6ZN"
Output for 5.4.39
string(15) "/tmp/FOOai3OjPA"
Output for 5.4.38
string(15) "/tmp/FOOa3kvBfy"
Output for 5.4.37
string(15) "/tmp/FOOagfbu96"
Output for 5.4.36
string(15) "/tmp/FOOahxI9WN"
Output for 5.4.35
string(15) "/tmp/FOOauDczFk"
Output for 5.4.34
string(15) "/tmp/FOOastScrU"
Output for 5.4.32
string(15) "/tmp/FOOar3h79E"
Output for 5.4.31
string(15) "/tmp/FOOaHQcli4"
Output for 5.4.30
string(15) "/tmp/FOOa18yN8L"
Output for 5.4.29
string(15) "/tmp/FOOaPPPRRu"
Output for 5.4.28
string(15) "/tmp/FOOaUzi90k"
Output for 5.4.27
string(15) "/tmp/FOOaiO5jzz"
Output for 5.4.26
string(15) "/tmp/FOOafa8oqw"
Output for 5.4.25
string(15) "/tmp/FOOan0jg8X"
Output for 5.4.24
string(15) "/tmp/FOOadm9jis"
Output for 5.4.23
string(15) "/tmp/FOOaWvX4r9"
Output for 5.4.22
string(15) "/tmp/FOOapxSG99"
Output for 5.4.21
string(15) "/tmp/FOOaIhryCJ"
Output for 5.4.20
string(15) "/tmp/FOOaY5ie1f"
Output for 5.4.19
string(15) "/tmp/FOOaGhlWPR"
Output for 5.4.18
string(15) "/tmp/FOOaxNaIEe"
Output for 5.4.17
string(15) "/tmp/FOOag57QXe"
Output for 5.4.16
string(15) "/tmp/FOOa60dzbc"
Output for 5.4.15
string(15) "/tmp/FOOa4W4946"
Output for 5.4.14
string(15) "/tmp/FOOa19k4Xu"
Output for 5.4.13
string(15) "/tmp/FOOaiiWmyx"
Output for 5.4.12
string(15) "/tmp/FOOayqW1Qy"
Output for 5.4.11
string(15) "/tmp/FOOaZf1G9P"
Output for 5.4.10
string(15) "/tmp/FOOadovODB"
Output for 5.4.9
string(15) "/tmp/FOOa0AbWwc"
Output for 5.4.8
string(15) "/tmp/FOOaKkZ3y7"
Output for 5.4.7
string(15) "/tmp/FOOaCQPf6o"
Output for 5.4.6
string(15) "/tmp/FOOaGuF0jV"
Output for 5.4.5
string(15) "/tmp/FOOaHvEzcH"
Output for 5.4.4
string(15) "/tmp/FOOafb77aN"
Output for 5.4.3
string(15) "/tmp/FOOaiVZUdj"
Output for 5.4.2
string(15) "/tmp/FOOa8j6qQX"
Output for 5.4.1
string(15) "/tmp/FOOap1MWJT"
Output for 5.4.0
string(15) "/tmp/FOOawh5yLp"
Output for 5.3.4 - 5.3.29
bool(false)
Output for 5.3.3
string(15) "/tmp/FOOatwdlzW"
Output for 5.3.2
string(15) "/tmp/FOOa5v56jw"
Output for 5.3.1
string(15) "/tmp/FOOaT5u7Tl"
Output for 5.3.0
string(15) "/tmp/FOOaFDQAdH"
Output for 5.2.17
string(15) "/tmp/FOOaSiLp2o"
Output for 5.2.16
string(15) "/tmp/FOOajVtsWY"
Output for 5.2.15
string(15) "/tmp/FOOaqiuUzz"
Output for 5.2.14
string(15) "/tmp/FOOaIUGxZa"
Output for 5.2.13
string(15) "/tmp/FOOaptJdkS"
Output for 5.2.12
string(15) "/tmp/FOOa7XFT9a"
Output for 5.2.11
string(15) "/tmp/FOOaTcQfhA"
Output for 5.2.10
string(15) "/tmp/FOOaecvTCR"
Output for 5.2.9
string(15) "/tmp/FOOacN8W42"
Output for 5.2.8
string(15) "/tmp/FOOa6nOkyi"
Output for 5.2.7
string(15) "/tmp/FOOaN0Zptr"
Output for 5.2.6
string(15) "/tmp/FOOaxYwsYq"
Output for 5.2.5
string(15) "/tmp/FOOawOagEE"
Output for 5.2.4
string(15) "/tmp/FOOap4979B"
Output for 5.2.3
string(15) "/tmp/FOOatEraJq"
Output for 5.2.2
string(15) "/tmp/FOOa02X9Qx"
Output for 5.2.1
string(15) "/tmp/FOOavu7qvU"
Output for 5.2.0
string(15) "/tmp/FOOaLgaNto"
Output for 5.1.6
string(15) "/tmp/FOOaHyCx0K"
Output for 5.1.5
string(15) "/tmp/FOOagecJ3Q"
Output for 5.1.4
string(15) "/tmp/FOOa4fvRS8"
Output for 5.1.3
string(15) "/tmp/FOOa8YRlCF"
Output for 5.1.2
string(15) "/tmp/FOOabhS1Gi"
Output for 5.1.1
string(15) "/tmp/FOOamqlvrk"
Output for 5.1.0
string(15) "/tmp/FOOaKzZKLY"
Output for 5.0.5
string(15) "/tmp/FOOaCU4Pf6"
Output for 5.0.4
string(15) "/tmp/FOOaoGouWm"
Output for 5.0.3
string(15) "/tmp/FOOaC6LP2A"
Output for 5.0.2
string(15) "/tmp/FOOaixNa8H"
Output for 5.0.1
string(15) "/tmp/FOOaCBE6pK"
Output for 5.0.0
string(15) "/tmp/FOOarIzYBm"
Output for 4.4.9
string(15) "/tmp/FOOaTgElIn"
Output for 4.4.8
string(15) "/tmp/FOOaDkannu"
Output for 4.4.7
string(15) "/tmp/FOOazebA7N"
Output for 4.4.6
string(15) "/tmp/FOOav0w9jr"
Output for 4.4.5
string(15) "/tmp/FOOa6Lpm30"
Output for 4.4.4
string(15) "/tmp/FOOavw6lKj"
Output for 4.4.3
string(15) "/tmp/FOOaUBK2Fr"
Output for 4.4.2
string(15) "/tmp/FOOaYgOQKL"
Output for 4.4.1
string(15) "/tmp/FOOaDWdP6z"
Output for 4.4.0
string(15) "/tmp/FOOamTUJ4N"
Output for 4.3.11
string(15) "/tmp/FOOa3oVLVP"
Output for 4.3.10
string(15) "/tmp/FOOa4LYkZ5"
Output for 4.3.9
string(15) "/tmp/FOOanLgcW9"
Output for 4.3.8
string(15) "/tmp/FOOabjTD1N"
Output for 4.3.7
string(15) "/tmp/FOOaRr4Tvq"
Output for 4.3.6
string(15) "/tmp/FOOac5K3xS"
Output for 4.3.5
string(15) "/tmp/FOOakJRtFq"
Output for 4.3.4
string(15) "/tmp/FOOaeHFzO5"
Output for 4.3.3
string(15) "/tmp/FOOaAbPisF"
Output for 4.3.2
string(15) "/tmp/FOOaHDyswc"
Output for 4.3.1
string(15) "/tmp/FOOaNF98xI"
Output for 4.3.0
string(15) "/tmp/FOOaarKHcD"