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", "..")); //var_dump(basename("../"));
Output for 7.1.0
string(13) "/tmp/..KSh7pv"
Output for 7.0.14
string(13) "/tmp/..0z81tc"
Output for 7.0.6
string(13) "/tmp/..B75WpD"
Output for 7.0.5
string(13) "/tmp/..PJ3yIl"
Output for 7.0.4
string(13) "/tmp/..tbmcnz"
Output for 7.0.3
string(13) "/tmp/..UB1qIt"
Output for 7.0.2
string(13) "/tmp/..2lwIAp"
Output for 7.0.1
string(13) "/tmp/..7iqbHR"
Output for 7.0.0
string(13) "/tmp/..bO58Jw"
Output for hhvm-3.12.0
string(13) "/tmp/..WQTthO"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
string(13) "/tmp/..bYUPNO"
Output for 5.6.21
string(13) "/tmp/..IHc2Qt"
Output for 5.6.20
string(13) "/tmp/..L3ERoL"
Output for 5.6.19
string(13) "/tmp/..BeNJdP"
Output for 5.6.18
string(13) "/tmp/..s0BlAj"
Output for 5.6.17
string(13) "/tmp/..DpIkcA"
Output for 5.6.16
string(13) "/tmp/..tJpUvx"
Output for 5.6.15
string(13) "/tmp/..zHmHmW"
Output for 5.6.14
string(13) "/tmp/..NtRBsR"
Output for 5.6.13
string(13) "/tmp/..5pdZ0r"
Output for 5.6.12
string(13) "/tmp/..X2qfj1"
Output for 5.6.11
string(13) "/tmp/..P7CYuw"
Output for 5.6.10
string(13) "/tmp/..Q8108W"
Output for 5.6.9
string(13) "/tmp/..6aiRuA"
Output for 5.6.8
string(13) "/tmp/..QOal3w"
Output for 5.6.7
string(13) "/tmp/..AyqVsB"
Output for 5.5.35
string(13) "/tmp/..zuAE5S"
Output for 5.5.34
string(13) "/tmp/..e0NJA1"
Output for 5.5.33
string(13) "/tmp/..p0R8AR"
Output for 5.5.32
string(13) "/tmp/..4PCgzC"
Output for 5.5.31
string(13) "/tmp/..4dlXaX"
Output for 5.5.30
string(13) "/tmp/..6MLieW"
Output for 5.5.29
string(13) "/tmp/..okKmlt"
Output for 5.5.28
string(13) "/tmp/..WTykFp"
Output for 5.5.27
string(13) "/tmp/..sb9fmf"
Output for 5.5.26
string(13) "/tmp/..PqkSkz"
Output for 5.5.25
string(13) "/tmp/..Qk9adK"
Output for 5.5.24
string(13) "/tmp/..r406sm"
Output for 5.4.45
string(13) "/tmp/..SIMUNo"
Output for 5.4.44
string(13) "/tmp/..E1XNg2"
Output for 5.4.43
string(13) "/tmp/..oT4ayI"
Output for 5.4.42
string(13) "/tmp/..U113vf"
Output for 5.4.41
string(13) "/tmp/..BBB068"
Output for 5.4.40
string(13) "/tmp/..xfZFTk"
Output for 5.4.39
string(13) "/tmp/..vXzTC0"
Output for 5.4.38
string(13) "/tmp/..OD5OzC"
Output for 5.4.37
string(13) "/tmp/..dFxJDQ"
Output for 5.4.36
string(13) "/tmp/..yulgLA"
Output for 5.4.35
string(13) "/tmp/..aDe5C4"
Output for 5.4.34
string(13) "/tmp/..IgppxG"
Output for 5.4.32
string(13) "/tmp/..lA6j5R"
Output for 5.4.31
string(13) "/tmp/..74Zm7z"
Output for 5.4.30
string(13) "/tmp/..9obtEu"
Output for 5.4.29
string(13) "/tmp/..IRRBn6"
Output for 5.4.28
string(13) "/tmp/..NXk3ry"
Output for 5.4.27
string(13) "/tmp/..epEfmE"
Output for 5.4.26
string(13) "/tmp/..xE6OOJ"
Output for 5.4.25
string(13) "/tmp/..LXeSMD"
Output for 5.4.24
string(13) "/tmp/..LmxfLE"
Output for 5.4.23
string(13) "/tmp/..9OEHzH"
Output for 5.4.22
string(13) "/tmp/..bDBDvM"
Output for 5.4.21
string(13) "/tmp/..65JgLS"
Output for 5.4.20
string(13) "/tmp/..pCPJaT"
Output for 5.4.19
string(13) "/tmp/..D1oolZ"
Output for 5.4.18
string(13) "/tmp/..pC03a2"
Output for 5.4.17
string(13) "/tmp/..kah562"
Output for 5.4.16
string(13) "/tmp/..j4gGT8"
Output for 5.4.15
string(13) "/tmp/..Tqm6ia"
Output for 5.4.14
string(13) "/tmp/..uvV7Bg"
Output for 5.4.13
string(13) "/tmp/..xKGNuj"
Output for 5.4.12
string(13) "/tmp/..8rek3k"
Output for 5.4.11
string(13) "/tmp/..WLmeBq"
Output for 5.4.10
string(13) "/tmp/..0qgxut"
Output for 5.4.9
string(13) "/tmp/..MkN94u"
Output for 5.4.8
string(13) "/tmp/..8ZHHUA"
Output for 5.4.7
string(13) "/tmp/..9hyNuB"
Output for 5.4.6
string(13) "/tmp/..ipB6yH"
Output for 5.4.5
string(13) "/tmp/..sCAT1I"
Output for 5.4.4
string(13) "/tmp/..HHfi0E"
Output for 5.4.3
string(13) "/tmp/..10z1gJ"
Output for 5.4.2
string(13) "/tmp/..jTTMHK"
Output for 5.4.1
string(13) "/tmp/..ciFPSN"
Output for 5.4.0
string(13) "/tmp/..PujUTT"
Output for 5.3.29
string(13) "/tmp/..OnhWL1"
Output for 5.3.28
string(13) "/tmp/..zyZafV"
Output for 5.3.27
string(13) "/tmp/..ddRU40"
Output for 5.3.26
string(13) "/tmp/..tOSUq5"
Output for 5.3.25
string(13) "/tmp/..l9KtH8"
Output for 5.3.24
string(13) "/tmp/..O0efE9"
Output for 5.3.23
string(13) "/tmp/..jDwXte"
Output for 5.3.22
string(13) "/tmp/..f3pX2i"
Output for 5.3.21
string(13) "/tmp/..JJwTdp"
Output for 5.3.20
string(13) "/tmp/..0aMNqq"
Output for 5.3.19
string(13) "/tmp/..eISFnw"
Output for 5.3.18
string(13) "/tmp/..oGydjB"
Output for 5.3.17
string(13) "/tmp/..qXjbuC"
Output for 5.3.16
string(13) "/tmp/..tByIII"
Output for 5.3.15
string(13) "/tmp/..BFB58J"
Output for 5.3.14
string(13) "/tmp/..BubO2P"
Output for 5.3.13
string(13) "/tmp/..MxibcK"
Output for 5.3.12
string(13) "/tmp/..NCFWzL"
Output for 5.3.11
string(13) "/tmp/..BVfKAR"
Output for 5.3.10
string(13) "/tmp/..NTPpeT"
Output for 5.3.9
string(13) "/tmp/..wXpItW"
Output for 5.3.8
string(13) "/tmp/..hzmsv1"
Output for 5.3.7
string(13) "/tmp/..P1vL32"
Output for 5.3.6
string(13) "/tmp/..M8Ob15"
Output for 5.3.5
string(13) "/tmp/..Idtyhc"
Output for 5.3.4
string(13) "/tmp/..KPs0Hc"
Output for 5.3.3
string(13) "/tmp/..DdYHWi"
Output for 5.3.2
string(13) "/tmp/..9hmYdk"
Output for 5.3.1
string(13) "/tmp/..jjvcSq"
Output for 5.3.0
string(13) "/tmp/..GOmbrr"
Output for 5.2.17
string(13) "/tmp/..Ey7gLu"
Output for 5.2.16
string(13) "/tmp/..HNHLgA"
Output for 5.2.15
string(13) "/tmp/..1HLfvC"
Output for 5.2.14
string(13) "/tmp/..eLc0uF"
Output for 5.2.13
string(13) "/tmp/..fvkkQG"
Output for 5.2.12
string(13) "/tmp/..4zjkEM"
Output for 5.2.11
string(13) "/tmp/..vOhJKP"
Output for 5.2.10
string(13) "/tmp/..vTpmKR"
Output for 5.2.9
string(13) "/tmp/..h6ifiL"
Output for 5.2.8
string(13) "/tmp/..UFARVN"
Output for 5.2.7
string(13) "/tmp/..3WtSMQ"
Output for 5.2.6
string(13) "/tmp/..CvFKTR"
Output for 5.2.5
string(13) "/tmp/..lQQn0X"
Output for 5.2.4
string(13) "/tmp/..jvLPN0"
Output for 5.2.3
string(13) "/tmp/..fDMmw1"
Output for 5.2.2
string(13) "/tmp/..t8SeO4"
Output for 5.2.1
string(13) "/tmp/..j4ddV6"
Output for 5.2.0
string(13) "/tmp/..JMnbNc"
Output for 5.1.6
string(13) "/tmp/..APPqff"
Output for 5.1.5
string(13) "/tmp/..6QqBDh"
Output for 5.1.4
string(13) "/tmp/..FqM1bk"
Output for 5.1.3
string(13) "/tmp/..ukyiHm"
Output for 5.1.2
string(13) "/tmp/..X9sMFo"
Output for 5.1.1
string(13) "/tmp/..6hNL5q"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/k7i0J on line 9
Process exited with code 255.
Output for 5.0.5
string(13) "/tmp/..SsElqw"
Output for 5.0.4
string(13) "/tmp/..z8gKZv"
Output for 5.0.3
string(13) "/tmp/..Sref9x"
Output for 5.0.2
string(13) "/tmp/..8nkUKA"
Output for 5.0.1
string(13) "/tmp/..c4thkC"
Output for 5.0.0
string(13) "/tmp/..o9frHF"
Output for 4.4.9
string(13) "/tmp/..hcMYzH"
Output for 4.4.8
string(13) "/tmp/..aRnkML"
Output for 4.4.7
string(13) "/tmp/..Yf1TuK"
Output for 4.4.6
string(13) "/tmp/..4qt1EM"
Output for 4.4.5
string(13) "/tmp/..WVsPTQ"
Output for 4.4.4
string(13) "/tmp/..dMLXYS"
Output for 4.4.3
string(13) "/tmp/..BSvaIV"
Output for 4.4.2
string(13) "/tmp/..96TX6W"
Output for 4.4.1
string(13) "/tmp/..bExzSP"
Output for 4.4.0
string(13) "/tmp/..XrjDdS"
Output for 4.3.11
string(13) "/tmp/..B6kXNQ"
Output for 4.3.10
string(13) "/tmp/..24AU3S"
Output for 4.3.9
string(13) "/tmp/..82R0RW"
Output for 4.3.8
string(13) "/tmp/..lcU3LZ"
Output for 4.3.7
string(13) "/tmp/..4AGWrY"
Output for 4.3.6
string(13) "/tmp/..N39C10"
Output for 4.3.5
string(13) "/tmp/..1Whfz2"
Output for 4.3.4
string(13) "/tmp/..NBFkp5"
Output for 4.3.3
string(13) "/tmp/..Aa89b9"
Output for 4.3.2
string(13) "/tmp/..GKBQ4a"
Output for 4.3.1
string(13) "/tmp/..WPpAzd"
Output for 4.3.0
string(13) "/tmp/..v3HBIZ"