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/nn"));
Output for 5.4.41 - 5.4.45, 5.5.25 - 5.5.38, 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/CBQOB on line 8 NULL
Output for hhvm-3.12.0
string(13) "/tmp/nnEKCc5v"
Output for hhvm-3.10.0
string(13) "/tmp/nnrA9UAM"
Output for 5.6.8
string(13) "/tmp/nnjAtIhN"
Output for 5.6.7
string(13) "/tmp/nnf0wAlj"
Output for 5.6.6
string(13) "/tmp/nn5eV5DR"
Output for 5.6.5
string(13) "/tmp/nnqOR09z"
Output for 5.6.4
string(13) "/tmp/nnjrCao8"
Output for 5.6.3
string(13) "/tmp/nnTzEXsm"
Output for 5.6.2
string(13) "/tmp/nng80NYn"
Output for 5.6.1
string(13) "/tmp/nnO0eGlp"
Output for 5.6.0
string(13) "/tmp/nnJFcOhB"
Output for 5.5.24
string(13) "/tmp/nnQ0506Y"
Output for 5.5.23
string(13) "/tmp/nnJrfoyE"
Output for 5.5.22
string(13) "/tmp/nnhGoctc"
Output for 5.5.21
string(13) "/tmp/nnKA1kPp"
Output for 5.5.20
string(13) "/tmp/nnKrvmMZ"
Output for 5.5.19
string(13) "/tmp/nnbvcISx"
Output for 5.5.18
string(13) "/tmp/nnlmyVVH"
Output for 5.5.16
string(13) "/tmp/nnshHRvJ"
Output for 5.5.15
string(13) "/tmp/nnyIY7Np"
Output for 5.5.14
string(13) "/tmp/nnpO1L0q"
Output for 5.5.13
string(13) "/tmp/nnQSWfzV"
Output for 5.5.12
string(13) "/tmp/nnsYAifC"
Output for 5.5.11
string(13) "/tmp/nn2mV0tM"
Output for 5.5.10
string(13) "/tmp/nneK8707"
Output for 5.5.9
string(13) "/tmp/nneJZ9DC"
Output for 5.5.8
string(13) "/tmp/nnQ3UbVX"
Output for 5.5.7
string(13) "/tmp/nn6Y3uN6"
Output for 5.5.6
string(13) "/tmp/nnmTREED"
Output for 5.5.5
string(13) "/tmp/nnIsFD6O"
Output for 5.5.4
string(13) "/tmp/nnbP0lPf"
Output for 5.5.3
string(13) "/tmp/nn3ydjuL"
Output for 5.5.2
string(13) "/tmp/nnxvMc8N"
Output for 5.5.1
string(13) "/tmp/nnn7Pq57"
Output for 5.5.0
string(13) "/tmp/nnYkVxqE"
Output for 5.4.40
string(13) "/tmp/nnPzUQjb"
Output for 5.4.39
string(13) "/tmp/nnam2pRv"
Output for 5.4.38
string(13) "/tmp/nnOuXpJ3"
Output for 5.4.37
string(13) "/tmp/nnoTKxur"
Output for 5.4.36
string(13) "/tmp/nnUOviHM"
Output for 5.4.35
string(13) "/tmp/nnpG6QBm"
Output for 5.4.34
string(13) "/tmp/nnTsOgMW"
Output for 5.4.32
string(13) "/tmp/nnKQKf2W"
Output for 5.4.31
string(13) "/tmp/nnI2DtYg"
Output for 5.4.30
string(13) "/tmp/nn9J5iPB"
Output for 5.4.29
string(13) "/tmp/nnx3UXAM"
Output for 5.4.28
string(13) "/tmp/nnfzSsX8"
Output for 5.4.27
string(13) "/tmp/nnW6eudC"
Output for 5.4.26
string(13) "/tmp/nncNBjb0"
Output for 5.4.25
string(13) "/tmp/nnoq9oiB"
Output for 5.4.24
string(13) "/tmp/nn8wPiTK"
Output for 5.4.23
string(13) "/tmp/nnj7Zr1t"
Output for 5.4.22
string(13) "/tmp/nnA99KmG"
Output for 5.4.21
string(13) "/tmp/nnWyGhU0"
Output for 5.4.20
string(13) "/tmp/nncgjTPs"
Output for 5.4.19
string(13) "/tmp/nnGgT8FB"
Output for 5.4.18
string(13) "/tmp/nnRQ5RtY"
Output for 5.4.17
string(13) "/tmp/nn8UkSno"
Output for 5.4.16
string(13) "/tmp/nnnKAt8L"
Output for 5.4.15
string(13) "/tmp/nnNrLzm5"
Output for 5.4.14
string(13) "/tmp/nnxGaA2i"
Output for 5.4.13
string(13) "/tmp/nnxiIsxz"
Output for 5.4.12
string(13) "/tmp/nnlzMt2S"
Output for 5.4.11
string(13) "/tmp/nnPCVs7c"
Output for 5.4.10
string(13) "/tmp/nnreXT8w"
Output for 5.4.9
string(13) "/tmp/nnb0ZwhW"
Output for 5.4.8
string(13) "/tmp/nnHxOG0e"
Output for 5.4.7
string(13) "/tmp/nnR4XHyC"
Output for 5.4.6
string(13) "/tmp/nncljd8K"
Output for 5.4.5
string(13) "/tmp/nn0DKtok"
Output for 5.4.4
string(13) "/tmp/nnp6NEQD"
Output for 5.4.3
string(13) "/tmp/nnwzKsiK"
Output for 5.4.2
string(13) "/tmp/nnDmEjT2"
Output for 5.4.1
string(13) "/tmp/nn44cGPm"
Output for 5.4.0
string(13) "/tmp/nnbLy54z"
Output for 5.3.4 - 5.3.29
bool(false)
Output for 5.3.3
string(13) "/tmp/nnXuqKoY"
Output for 5.3.2
string(13) "/tmp/nnCTCGmb"
Output for 5.3.1
string(13) "/tmp/nn7YSnfB"
Output for 5.3.0
string(13) "/tmp/nnDZyHmV"
Output for 5.2.17
string(13) "/tmp/nnW005gp"
Output for 5.2.16
string(13) "/tmp/nnsAk56y"
Output for 5.2.15
string(13) "/tmp/nnByGNIP"
Output for 5.2.14
string(13) "/tmp/nn96HoU7"
Output for 5.2.13
string(13) "/tmp/nnkwXpzl"
Output for 5.2.12
string(13) "/tmp/nnc3pm5q"
Output for 5.2.11
string(13) "/tmp/nnGlPkaM"
Output for 5.2.10
string(13) "/tmp/nnRjsrO4"
Output for 5.2.9
string(13) "/tmp/nnPCBaRe"
Output for 5.2.8
string(13) "/tmp/nnfwgoWg"
Output for 5.2.7
string(13) "/tmp/nnxOXiTn"
Output for 5.2.6
string(13) "/tmp/nnMiH4II"
Output for 5.2.5
string(13) "/tmp/nnmzSQRZ"
Output for 5.2.4
string(13) "/tmp/nnb3L585"
Output for 5.2.3
string(13) "/tmp/nnj0ULVf"
Output for 5.2.2
string(13) "/tmp/nn2BsgAh"
Output for 5.2.1
string(13) "/tmp/nnvkXtXM"
Output for 5.2.0
string(13) "/tmp/nn3qYTUW"
Output for 5.1.6
string(13) "/tmp/nnYaBgF6"
Output for 5.1.5
string(13) "/tmp/nnJ7wUsh"
Output for 5.1.4
string(13) "/tmp/nnMIoPnu"
Output for 5.1.3
string(13) "/tmp/nnbzvPJF"
Output for 5.1.2
string(15) "/tmp/FOOaXdKNZP"
Output for 5.1.1
string(15) "/tmp/FOOaXTHg29"
Output for 5.1.0
string(15) "/tmp/FOOa8Y4WDl"
Output for 5.0.5
string(15) "/tmp/FOOavRWbnq"
Output for 5.0.4
string(15) "/tmp/FOOaAY7saG"
Output for 5.0.3
string(15) "/tmp/FOOapce4c0"
Output for 5.0.2
string(15) "/tmp/FOOaaBbtxh"
Output for 5.0.1
string(15) "/tmp/FOOayLbzZn"
Output for 5.0.0
string(15) "/tmp/FOOabw0anu"
Output for 4.4.9
string(15) "/tmp/FOOalZJ3ov"
Output for 4.4.8
string(15) "/tmp/FOOavCkxcQ"
Output for 4.4.7
string(15) "/tmp/FOOaG4akPo"
Output for 4.4.6
string(15) "/tmp/FOOap38qaz"
Output for 4.4.5
string(15) "/tmp/FOOa1O1pOD"
Output for 4.4.4
string(15) "/tmp/FOOaKdpelh"
Output for 4.4.3
string(15) "/tmp/FOOaR4hdmo"
Output for 4.4.2
string(15) "/tmp/FOOaQyGjAV"
Output for 4.4.1
string(15) "/tmp/FOOac7Osjk"
Output for 4.4.0
string(15) "/tmp/FOOalyciGB"
Output for 4.3.11
string(15) "/tmp/FOOaobwp8M"
Output for 4.3.10
string(15) "/tmp/FOOaI66wS6"
Output for 4.3.9
string(15) "/tmp/FOOay7zzxo"
Output for 4.3.8
string(15) "/tmp/FOOaKdOB5E"
Output for 4.3.7
string(15) "/tmp/FOOaNJlB5M"
Output for 4.3.6
string(15) "/tmp/FOOayyHuET"
Output for 4.3.5
string(15) "/tmp/FOOaNQ1nK0"
Output for 4.3.4
string(15) "/tmp/FOOaABSXR9"
Output for 4.3.3
string(15) "/tmp/FOOaQQQ0dh"
Output for 4.3.2
string(15) "/tmp/FOOafVLkXu"
Output for 4.3.1
string(15) "/tmp/FOOabdyRfq"
Output for 4.3.0
string(15) "/tmp/FOOa61moRx"