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\0aaa"));
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/LP6Ns 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(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/FOOalRyZgJ"
Output for 5.4.25
string(15) "/tmp/FOOa7rSZ9L"
Output for 5.4.24
string(15) "/tmp/FOOaacRgIN"
Output for 5.4.23
string(15) "/tmp/FOOaCxJzCT"
Output for 5.4.22
string(15) "/tmp/FOOaZPYV8U"
Output for 5.4.21
string(15) "/tmp/FOOacHXIf1"
Output for 5.4.20
string(15) "/tmp/FOOachW20U"
Output for 5.4.19
string(15) "/tmp/FOOaI6QpBZ"
Output for 5.4.18
string(15) "/tmp/FOOapMYO80"
Output for 5.4.17
string(15) "/tmp/FOOalEYJ36"
Output for 5.4.16
string(15) "/tmp/FOOaZY3Xh8"
Output for 5.4.15
string(15) "/tmp/FOOarWfi4e"
Output for 5.4.14
string(15) "/tmp/FOOazIL3tg"
Output for 5.4.13
string(15) "/tmp/FOOa1lPHvl"
Output for 5.4.12
string(15) "/tmp/FOOapNLnQm"
Output for 5.4.11
string(15) "/tmp/FOOaucsU9s"
Output for 5.4.10
string(15) "/tmp/FOOa9WHwuw"
Output for 5.4.9
string(15) "/tmp/FOOahvPYyx"
Output for 5.4.8
string(15) "/tmp/FOOa8atkkD"
Output for 5.4.7
string(15) "/tmp/FOOaAPRwkE"
Output for 5.4.6
string(15) "/tmp/FOOa44sA8J"
Output for 5.4.5
string(15) "/tmp/FOOanVktsN"
Output for 5.4.4
string(15) "/tmp/FOOa13YGIO"
Output for 5.4.3
string(15) "/tmp/FOOaZ9O8eT"
Output for 5.4.2
string(15) "/tmp/FOOazKbZnZ"
Output for 5.4.1
string(15) "/tmp/FOOa9W9bf0"
Output for 5.4.0
string(15) "/tmp/FOOaq4W1iW"
Output for 5.3.3
string(15) "/tmp/FOOav3baPf"
Output for 5.3.2
string(15) "/tmp/FOOaOVKimi"
Output for 5.3.1
string(15) "/tmp/FOOaGM6EPn"
Output for 5.3.0
string(15) "/tmp/FOOaJrdNnp"
Output for 5.2.17
string(15) "/tmp/FOOa5LmqHr"
Output for 5.2.16
string(15) "/tmp/FOOasBDphu"
Output for 5.2.15
string(15) "/tmp/FOOar83J7z"
Output for 5.2.14
string(15) "/tmp/FOOaLabFLC"
Output for 5.2.13
string(15) "/tmp/FOOazxZG4F"
Output for 5.2.12
string(15) "/tmp/FOOaZaUM7H"
Output for 5.2.11
string(15) "/tmp/FOOaGb2aeJ"
Output for 5.2.10
string(15) "/tmp/FOOaCAzXVL"
Output for 5.2.9
string(15) "/tmp/FOOaMZxYzO"
Output for 5.2.8
string(15) "/tmp/FOOaBbzuRT"
Output for 5.2.7
string(15) "/tmp/FOOargkWWW"
Output for 5.2.6
string(15) "/tmp/FOOas1I11X"
Output for 5.2.5
string(15) "/tmp/FOOajkbze0"
Output for 5.2.4
string(15) "/tmp/FOOam4icy3"
Output for 5.2.3
string(15) "/tmp/FOOa30AlL5"
Output for 5.2.2
string(15) "/tmp/FOOaniWqib"
Output for 5.2.1
string(15) "/tmp/FOOatN9lw2"
Output for 5.2.0
string(15) "/tmp/FOOaDBcM67"
Output for 5.1.6
string(15) "/tmp/FOOa9P3ypa"
Output for 5.1.5
string(15) "/tmp/FOOalhnbAc"
Output for 5.1.4
string(15) "/tmp/FOOa54vJ5e"
Output for 5.1.3
string(15) "/tmp/FOOaFwtNXh"
Output for 5.1.2
string(15) "/tmp/FOOayKJr3j"
Output for 5.1.1
string(15) "/tmp/FOOaQBGDwm"
Output for 5.1.0
string(15) "/tmp/FOOaXcQ9Uo"
Output for 5.0.5
string(15) "/tmp/FOOaa61DDo"
Output for 5.0.4
string(15) "/tmp/FOOaKvls4q"
Output for 5.0.3
string(15) "/tmp/FOOaaA4Ukw"
Output for 5.0.2
string(15) "/tmp/FOOamm6NRv"
Output for 5.0.1
string(15) "/tmp/FOOaFipBky"
Output for 5.0.0
string(15) "/tmp/FOOaxrOi3D"
Output for 4.4.9
string(15) "/tmp/FOOa0EtKKC"
Output for 4.4.8
string(15) "/tmp/FOOaSund7G"
Output for 4.4.7
string(15) "/tmp/FOOaQ0YAIF"
Output for 4.4.6
string(15) "/tmp/FOOaSl3iGH"
Output for 4.4.5
string(15) "/tmp/FOOaAONi4L"
Output for 4.4.4
string(15) "/tmp/FOOaH0PPGN"
Output for 4.4.3
string(15) "/tmp/FOOaaqtqvN"
Output for 4.4.2
string(15) "/tmp/FOOadrqBNQ"
Output for 4.4.1
string(15) "/tmp/FOOa32a8YS"
Output for 4.4.0
string(15) "/tmp/FOOaF9gneV"
Output for 4.3.11
string(15) "/tmp/FOOasrzgPT"
Output for 4.3.10
string(15) "/tmp/FOOaEC4QAX"
Output for 4.3.9
string(15) "/tmp/FOOaMqewjX"
Output for 4.3.8
string(15) "/tmp/FOOaGJtNtZ"
Output for 4.3.7
string(15) "/tmp/FOOadGSpa2"
Output for 4.3.6
string(15) "/tmp/FOOajX1gp5"
Output for 4.3.5
string(15) "/tmp/FOOaUteXB7"
Output for 4.3.4
string(15) "/tmp/FOOalVyfQ6"
Output for 4.3.3
string(15) "/tmp/FOOaNsNVr9"
Output for 4.3.2
string(15) "/tmp/FOOaV929Jc"
Output for 4.3.1
string(15) "/tmp/FOOaJ1JnSe"
Output for 4.3.0
string(15) "/tmp/FOOaarKHcD"