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", "a")); //var_dump(basename("../"));
Output for 7.1.0
string(12) "/tmp/aZ5zqB8"
Output for 7.0.14
string(12) "/tmp/arv0c2Y"
Output for 7.0.6
string(12) "/tmp/aqEJddL"
Output for 7.0.5
string(12) "/tmp/aMLGtCk"
Output for 7.0.4
string(12) "/tmp/a6DdQ7w"
Output for 7.0.3
string(12) "/tmp/a0N5kkm"
Output for 7.0.2
string(12) "/tmp/aDVqhIl"
Output for 7.0.1
string(12) "/tmp/aS9qxZb"
Output for 7.0.0
string(12) "/tmp/atluHYr"
Output for hhvm-3.12.0
string(12) "/tmp/amsLV8l"
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
string(12) "/tmp/a1vmi5E"
Output for 5.6.21
string(12) "/tmp/a7EhvEa"
Output for 5.6.20
string(12) "/tmp/aEUr48y"
Output for 5.6.19
string(12) "/tmp/aVwf0CP"
Output for 5.6.18
string(12) "/tmp/ajrWnXa"
Output for 5.6.17
string(12) "/tmp/aXxFgk7"
Output for 5.6.16
string(12) "/tmp/acJYoIn"
Output for 5.6.15
string(12) "/tmp/aAZtgfc"
Output for 5.6.14
string(12) "/tmp/aeL6WO5"
Output for 5.6.13
string(12) "/tmp/a0uEXqK"
Output for 5.6.12
string(12) "/tmp/a0XilL2"
Output for 5.6.11
string(12) "/tmp/aLdy4EY"
Output for 5.6.10
string(12) "/tmp/a5p2vHm"
Output for 5.6.9
string(12) "/tmp/ao92yRC"
Output for 5.6.8
string(12) "/tmp/avcYod0"
Output for 5.5.35
string(12) "/tmp/ak2vHeu"
Output for 5.5.34
string(12) "/tmp/aKcBeWz"
Output for 5.5.33
string(12) "/tmp/aBuWijC"
Output for 5.5.32
string(12) "/tmp/acSt9dE"
Output for 5.5.31
string(12) "/tmp/aFb2t7G"
Output for 5.5.30
string(12) "/tmp/afswCH0"
Output for 5.5.29
string(12) "/tmp/aQgMYre"
Output for 5.5.28
string(12) "/tmp/a9C4Rd6"
Output for 5.5.27
string(12) "/tmp/acqZAvv"
Output for 5.5.26
string(12) "/tmp/aUNuOxj"
Output for 5.5.25
string(12) "/tmp/aBeYKcr"
Output for 5.5.24
string(12) "/tmp/aWssylX"
Output for 5.4.45
string(12) "/tmp/aJbXOHe"
Output for 5.4.44
string(12) "/tmp/aCTyl5b"
Output for 5.4.43
string(12) "/tmp/aIutAlv"
Output for 5.4.42
string(12) "/tmp/aYhNYMU"
Output for 5.4.41
string(12) "/tmp/aghiDSv"
Output for 5.4.40
string(12) "/tmp/ac25W0q"
Output for 5.4.39
string(12) "/tmp/aOfuxe8"
Output for 5.4.38
string(12) "/tmp/aZzlIbg"
Output for 5.4.37
string(12) "/tmp/afZwGIL"
Output for 5.4.36
string(12) "/tmp/a3TS8jt"
Output for 5.4.35
string(12) "/tmp/a0ycQC1"
Output for 5.4.34
string(12) "/tmp/aonyhaB"
Output for 5.4.32
string(12) "/tmp/a32OBM7"
Output for 5.4.31
string(12) "/tmp/avZFRrM"
Output for 5.4.30
string(12) "/tmp/a0ei29c"
Output for 5.4.29
string(12) "/tmp/anPVTLC"
Output for 5.4.28
string(12) "/tmp/aQrS4F5"
Output for 5.4.27
string(12) "/tmp/aypsPvR"
Output for 5.4.26
string(12) "/tmp/aykFAWk"
Output for 5.4.25
string(12) "/tmp/a0jFQXq"
Output for 5.4.24
string(12) "/tmp/a9eXEmr"
Output for 5.4.23
string(12) "/tmp/aWbEWCu"
Output for 5.4.22
string(12) "/tmp/asy9aZA"
Output for 5.4.21
string(12) "/tmp/awI3EmB"
Output for 5.4.20
string(12) "/tmp/aJ6fIjH"
Output for 5.4.19
string(12) "/tmp/ax48xjJ"
Output for 5.4.18
string(12) "/tmp/abYMAeP"
Output for 5.4.17
string(12) "/tmp/amz83NJ"
Output for 5.4.16
string(12) "/tmp/aIqxLRK"
Output for 5.4.15
string(12) "/tmp/ayf3p2S"
Output for 5.4.14
string(12) "/tmp/aul5EJV"
Output for 5.4.13
string(12) "/tmp/a7dQ0nX"
Output for 5.4.12
string(12) "/tmp/a9H2vv2"
Output for 5.4.11
string(12) "/tmp/asIsea4"
Output for 5.4.10
string(12) "/tmp/aHzcon7"
Output for 5.4.9
string(12) "/tmp/acRVkrc"
Output for 5.4.8
string(12) "/tmp/aBW7aNd"
Output for 5.4.7
string(12) "/tmp/atAMLYg"
Output for 5.4.6
string(12) "/tmp/aKPakXm"
Output for 5.4.5
string(12) "/tmp/aTcsrqo"
Output for 5.4.4
string(12) "/tmp/atK8hfu"
Output for 5.4.3
string(12) "/tmp/ayesBQv"
Output for 5.4.2
string(12) "/tmp/a3q3NnB"
Output for 5.4.1
string(12) "/tmp/aUPz2eE"
Output for 5.4.0
string(12) "/tmp/acSt5FF"
Output for 5.3.29
string(12) "/tmp/aFmaM5E"
Output for 5.3.28
string(12) "/tmp/aY3bd6K"
Output for 5.3.27
string(12) "/tmp/aZxJWpM"
Output for 5.3.26
string(12) "/tmp/aG4dPbS"
Output for 5.3.25
string(12) "/tmp/aexHFHM"
Output for 5.3.24
string(12) "/tmp/allXZEP"
Output for 5.3.23
string(12) "/tmp/a7oe6RT"
Output for 5.3.22
string(12) "/tmp/aoNBhFV"
Output for 5.3.21
string(12) "/tmp/aliFks1"
Output for 5.3.20
string(12) "/tmp/a8Uvjf4"
Output for 5.3.19
string(12) "/tmp/a42QRF5"
Output for 5.3.18
string(12) "/tmp/aESqWac"
Output for 5.3.17
string(12) "/tmp/aWODNad"
Output for 5.3.16
string(12) "/tmp/aQ34Lgj"
Output for 5.3.15
string(12) "/tmp/aMqvWmk"
Output for 5.3.14
string(12) "/tmp/aVF1exq"
Output for 5.3.13
string(12) "/tmp/a0K57as"
Output for 5.3.12
string(12) "/tmp/a5fUXfy"
Output for 5.3.11
string(12) "/tmp/aDVkZMy"
Output for 5.3.10
string(12) "/tmp/afgkJNE"
Output for 5.3.9
string(12) "/tmp/a78U6OG"
Output for 5.3.8
string(12) "/tmp/adAmKZL"
Output for 5.3.7
string(12) "/tmp/adjj5kN"
Output for 5.3.6
string(12) "/tmp/adNyAnU"
Output for 5.3.5
string(12) "/tmp/aHnTKcO"
Output for 5.3.4
string(12) "/tmp/awe6rCP"
Output for 5.3.3
string(12) "/tmp/a0K3mZV"
Output for 5.3.2
string(12) "/tmp/aJAHVbX"
Output for 5.3.1
string(12) "/tmp/aobqrG2"
Output for 5.3.0
string(12) "/tmp/adKbVn5"
Output for 5.2.17
string(12) "/tmp/ajwUYv6"
Output for 5.2.16
string(12) "/tmp/a7lBfC8"
Output for 5.2.15
string(12) "/tmp/aBAMSZb"
Output for 5.2.14
string(12) "/tmp/aGjhT7d"
Output for 5.2.13
string(12) "/tmp/aKbTGSj"
Output for 5.2.12
string(12) "/tmp/aiHxkzm"
Output for 5.2.11
string(12) "/tmp/arBDNKo"
Output for 5.2.10
string(12) "/tmp/aPn9d2r"
Output for 5.2.9
string(12) "/tmp/aOcga7t"
Output for 5.2.8
string(12) "/tmp/aCNdz0u"
Output for 5.2.7
string(12) "/tmp/aSMoVfx"
Output for 5.2.6
string(12) "/tmp/aepHWBA"
Output for 5.2.5
string(12) "/tmp/akHqvSC"
Output for 5.2.4
string(12) "/tmp/a8TycJI"
Output for 5.2.3
string(12) "/tmp/akgnHeL"
Output for 5.2.2
string(12) "/tmp/admUQ3L"
Output for 5.2.1
string(12) "/tmp/aW4533O"
Output for 5.2.0
string(12) "/tmp/adXviVU"
Output for 5.1.6
string(12) "/tmp/avISRaX"
Output for 5.1.5
string(12) "/tmp/a1avC6Z"
Output for 5.1.4
string(12) "/tmp/agmZXSQ"
Output for 5.1.3
string(12) "/tmp/axvB2fT"
Output for 5.1.2
string(12) "/tmp/axV88MY"
Output for 5.1.1
string(12) "/tmp/agdgiW1"
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/P3PpU on line 9
Process exited with code 255.
Output for 5.0.5
string(12) "/tmp/a38nqQ6"
Output for 5.0.4
string(12) "/tmp/aXFgiN8"
Output for 5.0.3
string(12) "/tmp/ayVrw0a"
Output for 5.0.2
string(12) "/tmp/aI2pBwa"
Output for 5.0.1
string(12) "/tmp/aR9UI5f"
Output for 5.0.0
string(12) "/tmp/ag5pSii"
Output for 4.4.9
string(12) "/tmp/aDu7Ggi"
Output for 4.4.8
string(12) "/tmp/aqyPaUj"
Output for 4.4.7
string(12) "/tmp/aTSMjan"
Output for 4.4.6
string(12) "/tmp/avVRt5m"
Output for 4.4.5
string(12) "/tmp/aGbiKnq"
Output for 4.4.4
string(12) "/tmp/a8rzuGs"
Output for 4.4.3
string(12) "/tmp/aFAHUUu"
Output for 4.4.2
string(12) "/tmp/a4Li4wt"
Output for 4.4.1
string(12) "/tmp/al6bD3x"
Output for 4.4.0
string(12) "/tmp/a6yojJz"
Output for 4.3.11
string(12) "/tmp/aDsPBwz"
Output for 4.3.10
string(12) "/tmp/a9Ed7FC"
Output for 4.3.9
string(12) "/tmp/acxlcQE"
Output for 4.3.8
string(12) "/tmp/auG2N8D"
Output for 4.3.7
string(12) "/tmp/aEvxeaG"
Output for 4.3.6
string(12) "/tmp/axfeioJ"
Output for 4.3.5
string(12) "/tmp/a0yNG9I"
Output for 4.3.4
string(12) "/tmp/a5uBeDL"
Output for 4.3.3
string(12) "/tmp/aeTfVVO"
Output for 4.3.2
string(12) "/tmp/awhFq4Q"
Output for 4.3.1
string(12) "/tmp/afbYzGP"
Output for 4.3.0
string(12) "/tmp/a6nKexH"