3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo sys_get_temp_dir()." ".stream_get_meta_data(tmpfile())["uri"];
Output for 7.2.0
/tmp /tmp/phpAswisV
Output for 7.1.10
/tmp /tmp/phpYxIp9s
Output for 7.1.7
/tmp /tmp/phpOk7en9
Output for 7.1.6
/tmp /tmp/phpk0lxU2
Output for 7.1.5
/tmp /tmp/php4m8obt
Output for 7.1.0
/tmp /tmp/phplRLKSB
Output for 7.0.20
/tmp /tmp/phpyiHUaI
Output for 7.0.6
/tmp /tmp/phpGqT36X
Output for 7.0.5
/tmp /tmp/phpUIyTZT
Output for 7.0.4
/tmp /tmp/phpICa084
Output for 7.0.3
/tmp /tmp/phpCZnnLF
Output for 7.0.2
/tmp /tmp/phpT5jzs7
Output for 7.0.1
/tmp /tmp/phpVWJ43P
Output for 7.0.0
/tmp /tmp/phpvkVjVs
Output for 5.6.28
/tmp /tmp/phpR6SSTH
Output for 5.6.21
/tmp /tmp/phphbwd5v
Output for 5.6.20
/tmp /tmp/phpFPlcUa
Output for 5.6.19
/tmp /tmp/phpzBTdxo
Output for 5.6.18
/tmp /tmp/phpZFVs11
Output for 5.6.17
/tmp /tmp/phpJwYFkO
Output for 5.6.16
/tmp /tmp/phpen89o7
Output for 5.6.15
/tmp /tmp/phpmuBmMD
Output for 5.6.14
/tmp /tmp/phptzZkSe
Output for 5.6.13
/tmp /tmp/php51eeRR
Output for 5.6.12
/tmp /tmp/phpcwV9DG
Output for 5.6.11
/tmp /tmp/phpd9BEuE
Output for 5.6.10
/tmp /tmp/php8LO8Qf
Output for 5.6.9
/tmp /tmp/php2YDVNg
Output for 5.6.8
/tmp /tmp/phpumvtub
Output for 5.5.35
/tmp /tmp/phpOqpFWa
Output for 5.5.34
/tmp /tmp/phpI5MAH1
Output for 5.5.33
/tmp /tmp/phpJ0hEBv
Output for 5.5.32
/tmp /tmp/phpmwHJjt
Output for 5.5.31
/tmp /tmp/phpjtachO
Output for 5.5.30
/tmp /tmp/phpyp3Qa6
Output for 5.5.29
/tmp /tmp/phpB8MNbH
Output for 5.5.28
/tmp /tmp/phpr55cQu
Output for 5.5.27
/tmp /tmp/php3XjlBU
Output for 5.5.26
/tmp /tmp/phpEseeOe
Output for 5.5.25
/tmp /tmp/phpJdr0AJ
Output for 5.5.24
/tmp /tmp/phpf7RguC
Output for 5.4.45
/tmp /tmp/phpM3eO8f
Output for 5.4.44
/tmp /tmp/phpVedsfY
Output for 5.4.43
/tmp /tmp/phpOVEMoz
Output for 5.4.42
/tmp /tmp/phpoOb1hX
Output for 5.4.41
/tmp /tmp/phpk2evPT
Output for 5.4.40
/tmp /tmp/phpn91nCp
Output for 5.4.39
/tmp /tmp/phpgRGwTg
Output for 5.4.38
/tmp /tmp/phpWjm61N
Output for 5.4.37
/tmp /tmp/phpwlCNgn
Output for 5.4.36
/tmp /tmp/phpFSQhGx
Output for 5.4.35
/tmp /tmp/phpZ38fz1
Output for 5.4.34
/tmp /tmp/phprfmGvy
Output for 5.4.32
/tmp /tmp/phpF1VHpm
Output for 5.4.31
/tmp /tmp/phpvlYhCC
Output for 5.4.30
/tmp /tmp/php9xVBq4
Output for 5.4.29
/tmp /tmp/phpkK3mRe
Output for 5.4.28
/tmp /tmp/php9WjpQz
Output for 5.4.27
/tmp /tmp/php7O79BN
Output for 5.4.26
/tmp /tmp/phpf5vCWb
Output for 5.4.25
/tmp /tmp/phpPzVkey
Output for 5.4.24
/tmp /tmp/phpy0NUu5
Output for 5.4.23
/tmp /tmp/phpUhxMle
Output for 5.4.22
/tmp /tmp/phpEtxcrQ
Output for 5.4.21
/tmp /tmp/phpB84WZZ
Output for 5.4.20
/tmp /tmp/phpk2yMkm
Output for 5.4.19
/tmp /tmp/phpJT2FjH
Output for 5.4.18
/tmp /tmp/php5KubBZ
Output for 5.4.17
/tmp /tmp/phplO8GVv
Output for 5.4.16
/tmp /tmp/phptTtMsH
Output for 5.4.15
/tmp /tmp/php2Diaea
Output for 5.4.14
/tmp /tmp/phpNqZEnk
Output for 5.4.13
/tmp /tmp/php5fvVSD
Output for 5.4.12
/tmp /tmp/phpbs7b0Q
Output for 5.4.11
/tmp /tmp/phpemPIuj
Output for 5.4.10
/tmp /tmp/phpI6urXB
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ',' or ';' in /in/b8KIP on line 3
Process exited with code 255.