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/"));
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/Kt33O 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(15) "/tmp/FOOac0zkJh"
Output for 5.6.7
string(15) "/tmp/FOOaczPiiw"
Output for 5.5.24
string(15) "/tmp/FOOal3io1x"
Output for 5.4.40
string(15) "/tmp/FOOaGUBVOn"
Output for 5.4.39
string(15) "/tmp/FOOaYUhnpY"
Output for 5.4.38
string(15) "/tmp/FOOa3h0WBP"
Output for 5.4.37
string(15) "/tmp/FOOaA0Z1si"
Output for 5.4.36
string(15) "/tmp/FOOazWYX6U"
Output for 5.4.35
string(15) "/tmp/FOOaQu33tq"
Output for 5.4.34
string(15) "/tmp/FOOaJhxBI8"
Output for 5.4.32
string(15) "/tmp/FOOaJxswNQ"
Output for 5.4.31
string(15) "/tmp/FOOaJHScSa"
Output for 5.4.30
string(15) "/tmp/FOOae9lU59"
Output for 5.4.29
string(15) "/tmp/FOOax4RTWF"
Output for 5.4.28
string(15) "/tmp/FOOaYVqSLk"
Output for 5.4.27
string(15) "/tmp/FOOabROyT3"
Output for 5.4.26
string(15) "/tmp/FOOa393D70"
Output for 5.4.25
string(15) "/tmp/FOOaV9wXB5"
Output for 5.4.24
string(15) "/tmp/FOOaS8RDNb"
Output for 5.4.23
string(15) "/tmp/FOOaEIgzsf"
Output for 5.4.22
string(15) "/tmp/FOOapv12Hk"
Output for 5.4.21
string(15) "/tmp/FOOaNMlcQo"
Output for 5.4.20
string(15) "/tmp/FOOasPVaSx"
Output for 5.4.19
string(15) "/tmp/FOOaRGObLC"
Output for 5.4.18
string(15) "/tmp/FOOat75czG"
Output for 5.4.17
string(15) "/tmp/FOOaWgf4kG"
Output for 5.4.16
string(15) "/tmp/FOOaAsIOrK"
Output for 5.4.15
string(15) "/tmp/FOOa1wNPJP"
Output for 5.4.14
string(15) "/tmp/FOOapoCPK0"
Output for 5.4.13
string(15) "/tmp/FOOaG85uJ4"
Output for 5.4.12
string(15) "/tmp/FOOa1Ph7za"
Output for 5.4.11
string(15) "/tmp/FOOaUBaE7d"
Output for 5.4.10
string(15) "/tmp/FOOaYley0m"
Output for 5.4.9
string(15) "/tmp/FOOaY3mMbt"
Output for 5.4.8
string(15) "/tmp/FOOaDSkbmy"
Output for 5.4.7
string(15) "/tmp/FOOa6iT9JE"
Output for 5.4.6
string(15) "/tmp/FOOaf5RG6M"
Output for 5.4.5
string(15) "/tmp/FOOa4m7xZH"
Output for 5.4.4
string(15) "/tmp/FOOarEK2TM"
Output for 5.4.3
string(15) "/tmp/FOOaO7P8iS"
Output for 5.4.2
string(15) "/tmp/FOOa1pTzFZ"
Output for 5.4.1
string(15) "/tmp/FOOar3EEj4"
Output for 5.4.0
string(15) "/tmp/FOOaXBNo4a"
Output for 5.3.3
string(15) "/tmp/FOOah2zwxS"
Output for 5.3.2
string(15) "/tmp/FOOah7CAeX"
Output for 5.3.1
string(15) "/tmp/FOOa6uO7lR"
Output for 5.3.0
string(15) "/tmp/FOOaYBPTcT"
Output for 5.2.17
string(15) "/tmp/FOOaCsTEtV"
Output for 5.2.16
string(15) "/tmp/FOOaIrMld1"
Output for 5.2.15
string(15) "/tmp/FOOaZZRJ83"
Output for 5.2.14
string(15) "/tmp/FOOaFW4iJ4"
Output for 5.2.13
string(15) "/tmp/FOOaYRB107"
Output for 5.2.12
string(15) "/tmp/FOOaUpqIra"
Output for 5.2.11
string(15) "/tmp/FOOa1L5aKf"
Output for 5.2.10
string(15) "/tmp/FOOa5ItDdh"
Output for 5.2.9
string(15) "/tmp/FOOac0yfik"
Output for 5.2.8
string(15) "/tmp/FOOaSvT1bq"
Output for 5.2.7
string(15) "/tmp/FOOaHq6bPq"
Output for 5.2.6
string(15) "/tmp/FOOaIuMElu"
Output for 5.2.5
string(15) "/tmp/FOOaH5TOpw"
Output for 5.2.4
string(15) "/tmp/FOOauscVhC"
Output for 5.2.3
string(15) "/tmp/FOOazEwZhF"
Output for 5.2.2
string(15) "/tmp/FOOaG6PQrH"
Output for 5.2.1
string(15) "/tmp/FOOaOcGUtI"
Output for 5.2.0
string(15) "/tmp/FOOa9U4ImL"
Output for 5.1.6
string(15) "/tmp/FOOatvBCcN"
Output for 5.1.5
string(15) "/tmp/FOOazt4YuQ"
Output for 5.1.4
string(15) "/tmp/FOOa8CE6IV"
Output for 5.1.3
string(15) "/tmp/FOOaGkJMLY"
Output for 5.1.2
string(15) "/tmp/FOOaJqCkzZ"
Output for 5.1.1
string(15) "/tmp/FOOay5DnTR"
Output for 5.1.0
string(15) "/tmp/FOOa2xNYhU"
Output for 5.0.5
string(15) "/tmp/FOOa4w4vZW"
Output for 5.0.4
string(15) "/tmp/FOOawKzGsY"
Output for 5.0.3
string(15) "/tmp/FOOadU3xT1"
Output for 5.0.2
string(15) "/tmp/FOOayunGP3"
Output for 5.0.1
string(15) "/tmp/FOOasH0ez7"
Output for 5.0.0
string(15) "/tmp/FOOa1Jhih9"
Output for 4.4.9
string(15) "/tmp/FOOaFuljAc"
Output for 4.4.8
string(15) "/tmp/FOOa2jzVge"
Output for 4.4.7
string(15) "/tmp/FOOaFYlt9d"
Output for 4.4.6
string(15) "/tmp/FOOaVpMmph"
Output for 4.4.5
string(15) "/tmp/FOOaHpQbyj"
Output for 4.4.4
string(15) "/tmp/FOOaq9AFWi"
Output for 4.4.3
string(15) "/tmp/FOOaF3ZCxk"
Output for 4.4.2
string(15) "/tmp/FOOa0FNQ2o"
Output for 4.4.1
string(15) "/tmp/FOOa6fnPDn"
Output for 4.4.0
string(15) "/tmp/FOOaORFuqq"
Output for 4.3.11
string(15) "/tmp/FOOaL2JxRt"
Output for 4.3.10
string(15) "/tmp/FOOa3k8oTv"
Output for 4.3.9
string(15) "/tmp/FOOaPjjFTu"
Output for 4.3.8
string(15) "/tmp/FOOaF8u4Ny"
Output for 4.3.7
string(15) "/tmp/FOOaijinVA"
Output for 4.3.6
string(15) "/tmp/FOOa11fhuz"
Output for 4.3.5
string(15) "/tmp/FOOaSUfzGD"
Output for 4.3.4
string(15) "/tmp/FOOaHO8tgE"
Output for 4.3.3
string(15) "/tmp/FOOa1AwL5G"
Output for 4.3.2
string(15) "/tmp/FOOaFljNeL"
Output for 4.3.1
string(15) "/tmp/FOOakGYabN"
Output for 4.3.0
string(15) "/tmp/FOOavE78cq"