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/\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/nkPms on line 8 NULL
Output for 5.3.4 - 5.3.29, hhvm-3.10.0 - 3.12.0
bool(false)
Output for 5.6.8
string(11) "/tmp/nRPY97"
Output for 5.5.24
string(11) "/tmp/zmTt6D"
Output for 5.4.40
string(11) "/tmp/Y6yWe8"
Output for 5.4.39
string(11) "/tmp/tE91fF"
Output for 5.4.38
string(11) "/tmp/WdBp8G"
Output for 5.4.37
string(11) "/tmp/LfIy18"
Output for 5.4.36
string(11) "/tmp/qkqk3L"
Output for 5.4.35
string(11) "/tmp/jA1Rxs"
Output for 5.4.34
string(11) "/tmp/mTZ2CA"
Output for 5.4.32
string(11) "/tmp/0oWBK9"
Output for 5.4.31
string(11) "/tmp/B6DWve"
Output for 5.4.30
string(11) "/tmp/ySAzfD"
Output for 5.4.29
string(11) "/tmp/QyTbNb"
Output for 5.4.28
string(11) "/tmp/cA5Jo7"
Output for 5.4.27
string(11) "/tmp/pqZVIe"
Output for 5.4.26
string(11) "/tmp/UJ1TPd"
Output for 5.4.25
string(11) "/tmp/NWAa0c"
Output for 5.4.24
string(11) "/tmp/jVXnp2"
Output for 5.4.23
string(11) "/tmp/lNsQ3t"
Output for 5.4.22
string(11) "/tmp/LO59DI"
Output for 5.4.21
string(11) "/tmp/L62IKc"
Output for 5.4.20
string(11) "/tmp/AGjRKi"
Output for 5.4.19
string(11) "/tmp/O0ecId"
Output for 5.4.18
string(11) "/tmp/gaCvPL"
Output for 5.4.17
string(11) "/tmp/4tGq6t"
Output for 5.4.16
string(11) "/tmp/3Z7YIt"
Output for 5.4.15
string(11) "/tmp/Pu4R2p"
Output for 5.4.14
string(11) "/tmp/Epw32n"
Output for 5.4.13
string(11) "/tmp/lo4OXh"
Output for 5.4.12
string(11) "/tmp/r1x78p"
Output for 5.4.11
string(11) "/tmp/Cqu6cS"
Output for 5.4.10
string(11) "/tmp/4U7e86"
Output for 5.4.9
string(11) "/tmp/mojgPt"
Output for 5.4.8
string(11) "/tmp/yTEXCU"
Output for 5.4.7
string(11) "/tmp/wibFCW"
Output for 5.4.6
string(11) "/tmp/Akq6Mp"
Output for 5.4.5
string(11) "/tmp/woPQX5"
Output for 5.4.4
string(11) "/tmp/0pVpC6"
Output for 5.4.3
string(11) "/tmp/VKOswz"
Output for 5.4.2
string(11) "/tmp/zk99dy"
Output for 5.4.1
string(11) "/tmp/YNHK4f"
Output for 5.4.0
string(11) "/tmp/rcB6cH"
Output for 5.3.3
string(11) "/tmp/APVZ2C"
Output for 5.3.2
string(11) "/tmp/kQMgDs"
Output for 5.3.1
string(11) "/tmp/d8fIrA"
Output for 5.3.0
string(11) "/tmp/iKOohz"
Output for 5.2.17
string(11) "/tmp/5Ge1Bf"
Output for 5.2.16
string(11) "/tmp/B1c3Xr"
Output for 5.2.15
string(11) "/tmp/4aPa8g"
Output for 5.2.14
string(11) "/tmp/cr9X2Z"
Output for 5.2.13
string(11) "/tmp/aTakCI"
Output for 5.2.12
string(11) "/tmp/m7VKJb"
Output for 5.2.11
string(11) "/tmp/WIUjh1"
Output for 5.2.10
string(11) "/tmp/NBZYVR"
Output for 5.2.9
string(11) "/tmp/Uu1F9i"
Output for 5.2.8
string(11) "/tmp/u7kaJF"
Output for 5.2.7
string(11) "/tmp/gq4el8"
Output for 5.2.6
string(11) "/tmp/P0SK8K"
Output for 5.2.5
string(11) "/tmp/pyT2Bs"
Output for 5.2.4
string(11) "/tmp/skLKhQ"
Output for 5.2.3
string(11) "/tmp/z7Udci"
Output for 5.2.2
string(11) "/tmp/AFx3OL"
Output for 5.2.1
string(11) "/tmp/DFc1VS"
Output for 5.2.0
string(11) "/tmp/hz5hgd"
Output for 5.1.6
string(11) "/tmp/S7miaH"
Output for 5.1.5
string(11) "/tmp/OYH18j"
Output for 5.1.4
string(11) "/tmp/H4RlT4"
Output for 5.1.3
string(11) "/tmp/LIpRcm"
Output for 5.1.2
string(15) "/tmp/FOOa0lvuqN"
Output for 5.1.1
string(15) "/tmp/FOOajWzSis"
Output for 5.1.0
string(15) "/tmp/FOOaZtdLEW"
Output for 5.0.5
string(15) "/tmp/FOOaaMD5ct"
Output for 5.0.4
string(15) "/tmp/FOOaNpXGX4"
Output for 5.0.3
string(15) "/tmp/FOOaYemO0x"
Output for 5.0.2
string(15) "/tmp/FOOaYMhgq8"
Output for 5.0.1
string(15) "/tmp/FOOavy3wsy"
Output for 5.0.0
string(15) "/tmp/FOOaKcj0ES"
Output for 4.4.9
string(15) "/tmp/FOOaXDVRPp"
Output for 4.4.8
string(15) "/tmp/FOOaYSzxN0"
Output for 4.4.7
string(15) "/tmp/FOOaYRhxCR"
Output for 4.4.6
string(15) "/tmp/FOOa42zN36"
Output for 4.4.5
string(15) "/tmp/FOOa14ykWn"
Output for 4.4.4
string(15) "/tmp/FOOaRoFqIX"
Output for 4.4.3
string(15) "/tmp/FOOago30OD"
Output for 4.4.2
string(15) "/tmp/FOOa40Uqk7"
Output for 4.4.1
string(15) "/tmp/FOOa377ud9"
Output for 4.4.0
string(15) "/tmp/FOOaI1hQ9N"
Output for 4.3.11
string(15) "/tmp/FOOaIFWJdd"
Output for 4.3.10
string(15) "/tmp/FOOapbor8R"
Output for 4.3.9
string(15) "/tmp/FOOa25qRqh"
Output for 4.3.8
string(15) "/tmp/FOOaMJIV6c"
Output for 4.3.7
string(15) "/tmp/FOOaby7g5h"
Output for 4.3.6
string(15) "/tmp/FOOaiBv4bz"
Output for 4.3.5
string(15) "/tmp/FOOaLuLl0R"
Output for 4.3.4
string(15) "/tmp/FOOaiWekWa"
Output for 4.3.3
string(15) "/tmp/FOOacQhGan"
Output for 4.3.2
string(15) "/tmp/FOOaXtgX0q"
Output for 4.3.1
string(15) "/tmp/FOOaOPlrlG"
Output for 4.3.0
string(15) "/tmp/FOOaHGkwyR"