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.38, 5.6.9 - 5.6.38, hhvm-3.12.14 - 3.21.3, 7.0.0 - 7.2.12
Warning: tempnam() expects parameter 2 to be a valid path, string given in /in/LP6Ns on line 8 NULL
Output for hhvm-3.22.0
Warning: tempnam() expects parameter 2 to be a valid path, string given in /in/LP6Ns on line -1 NULL
Output for 5.3.4 - 5.3.29, hhvm-3.10.1 - 3.11.1
bool(false)
Output for 5.6.8
string(15) "/tmp/FOOaDakRXE"
Output for 5.6.7
string(15) "/tmp/FOOaoUEckG"
Output for 5.6.6
string(15) "/tmp/FOOaHrQr7S"
Output for 5.6.5
string(15) "/tmp/FOOaj5Uy72"
Output for 5.6.4
string(15) "/tmp/FOOa2aIMKb"
Output for 5.6.3
string(15) "/tmp/FOOaGQBW8o"
Output for 5.6.2
string(15) "/tmp/FOOaFJRlDA"
Output for 5.6.1
string(15) "/tmp/FOOahIhuJM"
Output for 5.6.0
string(15) "/tmp/FOOaoV2ZuM"
Output for 5.5.24
string(15) "/tmp/FOOa5xFTdI"
Output for 5.5.23
string(15) "/tmp/FOOaBL1ggI"
Output for 5.5.22
string(15) "/tmp/FOOaUPQ7XV"
Output for 5.5.21
string(15) "/tmp/FOOaLpCTA4"
Output for 5.5.20
string(15) "/tmp/FOOafarzHe"
Output for 5.5.19
string(15) "/tmp/FOOaDkR9fs"
Output for 5.5.18
string(15) "/tmp/FOOatWKFfA"
Output for 5.5.17
string(15) "/tmp/FOOaec9d2K"
Output for 5.5.16
string(15) "/tmp/FOOafvKSqM"
Output for 5.5.15
string(15) "/tmp/FOOaAR8w3Y"
Output for 5.5.14
string(15) "/tmp/FOOayI8172"
Output for 5.5.13
string(15) "/tmp/FOOabOTmt8"
Output for 5.5.12
string(15) "/tmp/FOOaMJl9Ql"
Output for 5.5.11
string(15) "/tmp/FOOaGJfkOv"
Output for 5.5.10
string(15) "/tmp/FOOarT9PtB"
Output for 5.5.9
string(15) "/tmp/FOOa16FwDF"
Output for 5.5.8
string(15) "/tmp/FOOa7pccjP"
Output for 5.5.7
string(15) "/tmp/FOOaH0CFYT"
Output for 5.5.6
string(15) "/tmp/FOOaHLhYSP"
Output for 5.5.5
string(15) "/tmp/FOOanEot8U"
Output for 5.5.4
string(15) "/tmp/FOOa5FqXr5"
Output for 5.5.3
string(15) "/tmp/FOOaEKjMcd"
Output for 5.5.2
string(15) "/tmp/FOOabJ0eTf"
Output for 5.5.1
string(15) "/tmp/FOOaY7KXnm"
Output for 5.5.0
string(15) "/tmp/FOOaSMPB7v"
Output for 5.4.40
string(15) "/tmp/FOOaZ7uDzG"
Output for 5.4.39
string(15) "/tmp/FOOabiND9I"
Output for 5.4.38
string(15) "/tmp/FOOa494D4Y"
Output for 5.4.37
string(15) "/tmp/FOOaIP3oM7"
Output for 5.4.36
string(15) "/tmp/FOOabDASVh"
Output for 5.4.35
string(15) "/tmp/FOOaJBrbzu"
Output for 5.4.34
string(15) "/tmp/FOOa1prrTE"
Output for 5.4.33
string(15) "/tmp/FOOaar2HfO"
Output for 5.4.32
string(15) "/tmp/FOOaiNC4SP"
Output for 5.4.31
string(15) "/tmp/FOOaC9sz3Y"
Output for 5.4.30
string(15) "/tmp/FOOaRdWcF8"
Output for 5.4.29
string(15) "/tmp/FOOaJwG5Cg"
Output for 5.4.28
string(15) "/tmp/FOOaMbmXVl"
Output for 5.4.27
string(15) "/tmp/FOOaumV4br"
Output for 5.4.26
string(15) "/tmp/FOOacvg2Lx"
Output for 5.4.25
string(15) "/tmp/FOOaGiFoeK"
Output for 5.4.24
string(15) "/tmp/FOOanVw3GR"
Output for 5.4.23
string(15) "/tmp/FOOaycUNSO"
Output for 5.4.22
string(15) "/tmp/FOOaSPSKkU"
Output for 5.4.21
string(15) "/tmp/FOOajqCiI2"
Output for 5.4.20
string(15) "/tmp/FOOaKFuV85"
Output for 5.4.19
string(15) "/tmp/FOOaVkiSrb"
Output for 5.4.18
string(15) "/tmp/FOOawKGEAm"
Output for 5.4.17
string(15) "/tmp/FOOa2kS8bt"
Output for 5.4.16
string(15) "/tmp/FOOamtSujz"
Output for 5.4.15
string(15) "/tmp/FOOaTBvxTG"
Output for 5.4.14
string(15) "/tmp/FOOaT8D0dI"
Output for 5.4.13
string(15) "/tmp/FOOaoy32TQ"
Output for 5.4.12
string(15) "/tmp/FOOaGhIHxR"
Output for 5.4.11
string(15) "/tmp/FOOaUqoJzR"
Output for 5.4.10
string(15) "/tmp/FOOanGPzLT"
Output for 5.4.9
string(15) "/tmp/FOOaBWGFu1"
Output for 5.4.8
string(15) "/tmp/FOOabAy6t6"
Output for 5.4.7
string(15) "/tmp/FOOam7GePa"
Output for 5.4.6
string(15) "/tmp/FOOamCCF1g"
Output for 5.4.5
string(15) "/tmp/FOOa10dAPn"
Output for 5.4.4
string(15) "/tmp/FOOaz3Leip"
Output for 5.4.3
string(15) "/tmp/FOOab4ou1t"
Output for 5.4.2
string(15) "/tmp/FOOaA1uztA"
Output for 5.4.1
string(15) "/tmp/FOOa5bNeJD"
Output for 5.4.0
string(15) "/tmp/FOOanCXMzI"
Output for 5.3.3
string(15) "/tmp/FOOajqY9y5"
Output for 5.3.2
string(15) "/tmp/FOOajjDiL8"
Output for 5.3.1
string(15) "/tmp/FOOavTzDFk"
Output for 5.3.0
string(15) "/tmp/FOOav6bQNq"
Output for 5.2.17
string(15) "/tmp/FOOa9e6fuT"
Output for 5.2.16
string(15) "/tmp/FOOamRfXQV"
Output for 5.2.15
string(15) "/tmp/FOOa2zOnN0"
Output for 5.2.14
string(15) "/tmp/FOOa0a9KX7"
Output for 5.2.13
string(15) "/tmp/FOOa9lKg2d"
Output for 5.2.12
string(15) "/tmp/FOOa4QxQye"
Output for 5.2.11
string(15) "/tmp/FOOaXrSBgs"
Output for 5.2.10
string(15) "/tmp/FOOafKoVvs"
Output for 5.2.9
string(15) "/tmp/FOOaKSBedy"
Output for 5.2.8
string(15) "/tmp/FOOaBIBBCC"
Output for 5.2.7
string(15) "/tmp/FOOavmf7MZ"
Output for 5.2.6
string(15) "/tmp/FOOahUD3j5"
Output for 5.2.5
string(15) "/tmp/FOOauWKno4"
Output for 5.2.4
string(15) "/tmp/FOOaMqabE6"
Output for 5.2.3
string(15) "/tmp/FOOaWrzpR7"
Output for 5.2.2
string(15) "/tmp/FOOaezNtTd"
Output for 5.2.1
string(15) "/tmp/FOOaTYq2Sj"
Output for 5.2.0
string(15) "/tmp/FOOazxMBrq"
Output for 5.1.6
string(15) "/tmp/FOOacRrsSt"
Output for 5.1.5
string(15) "/tmp/FOOafVwYFt"
Output for 5.1.4
string(15) "/tmp/FOOazn7ROH"
Output for 5.1.3
string(15) "/tmp/FOOaFmKzpM"
Output for 5.1.2
string(15) "/tmp/FOOaizhiQR"
Output for 5.1.1
string(15) "/tmp/FOOaap9VTS"
Output for 5.1.0
string(15) "/tmp/FOOaFOmLX0"
Output for 5.0.5
string(15) "/tmp/FOOa9HqUY2"
Output for 5.0.4
string(15) "/tmp/FOOaJVbi4Y"
Output for 5.0.3
string(15) "/tmp/FOOagYgG18"
Output for 5.0.2
string(15) "/tmp/FOOa9thtEe"
Output for 5.0.1
string(15) "/tmp/FOOaZDapui"
Output for 5.0.0
string(15) "/tmp/FOOa87XSzl"
Output for 4.4.9
string(15) "/tmp/FOOaixW8T2"
Output for 4.4.8
string(15) "/tmp/FOOaw70KNZ"
Output for 4.4.7
string(15) "/tmp/FOOaM0xNke"
Output for 4.4.6
string(15) "/tmp/FOOaXDT2Yf"
Output for 4.4.5
string(15) "/tmp/FOOah6oiyl"
Output for 4.4.4
string(15) "/tmp/FOOaM3kQmz"
Output for 4.4.3
string(15) "/tmp/FOOa9GIE0H"
Output for 4.4.2
string(15) "/tmp/FOOadX36WR"
Output for 4.4.1
string(15) "/tmp/FOOa5YEUU0"
Output for 4.4.0
string(15) "/tmp/FOOaOeCXw0"
Output for 4.3.11
string(15) "/tmp/FOOavfkVp5"
Output for 4.3.10
string(15) "/tmp/FOOaXMbET8"
Output for 4.3.9
string(15) "/tmp/FOOa6Qn1Gk"
Output for 4.3.8
string(15) "/tmp/FOOaCaI5vt"
Output for 4.3.7
string(15) "/tmp/FOOaEynucw"
Output for 4.3.6
string(15) "/tmp/FOOatybMWu"
Output for 4.3.5
string(15) "/tmp/FOOaXmUJJA"
Output for 4.3.4
string(15) "/tmp/FOOamZYI4D"
Output for 4.3.3
string(15) "/tmp/FOOa2VBpfG"
Output for 4.3.2
string(15) "/tmp/FOOaqPgINH"
Output for 4.3.1
string(15) "/tmp/FOOaXEzLtN"
Output for 4.3.0
string(15) "/tmp/FOOaTvI1IN"