3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo tempnam('test', '');
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.32, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Warning: tempnam(): open_basedir restriction in effect. File(test) is not within the allowed path(s): (/tmp:/in:/etc) in /in/CO6DI on line 3
Output for 8.0.13
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/oKS3Rf
Output for 7.4.33
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/7PZKBs
Output for 7.3.33
/tmp/5jq2sk
Output for 7.3.32
/tmp/2EYrBF
Output for 7.1.20, 7.2.6 - 7.2.8
Warning: tempnam(): open_basedir restriction in effect. File(test) is not within the allowed path(s): (/tmp:/in) in /in/CO6DI on line 3
Output for 7.2.0
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/HouSEy
Output for 7.1.10
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/UwAQJ3
Output for 7.1.7
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/VDadnq
Output for 7.1.6
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/GtFFM9
Output for 7.1.5
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/1m6Vbt
Output for 7.1.0
Notice: tempnam(): file created in the system's temporary directory in /in/CO6DI on line 3 /tmp/Z0XANo
Output for 7.0.20
/tmp/UEB0ez
Output for 7.0.6
/tmp/hZg9lX
Output for 7.0.5
/tmp/CiXiGL
Output for 7.0.4
/tmp/tonM4C
Output for 7.0.3
/tmp/OZgcjH
Output for 7.0.2
/tmp/JtiAd9
Output for 7.0.1
/tmp/6aUvEl
Output for 7.0.0
/tmp/BFSL3J
Output for 5.6.28
/tmp/19Pv7i
Output for 5.6.21
/tmp/TO0NGq
Output for 5.6.20
/tmp/7zBQau
Output for 5.6.19
/tmp/LHi2PZ
Output for 5.6.18
/tmp/jL1gB4
Output for 5.6.17
/tmp/DOrDgw
Output for 5.6.16
/tmp/kYFv6S
Output for 5.6.15
/tmp/AWxVBm
Output for 5.6.14
/tmp/J7qppG
Output for 5.6.13
/tmp/qHuhjb
Output for 5.6.12
/tmp/O8Mk6q
Output for 5.6.11
/tmp/rjGS9U
Output for 5.6.10
/tmp/2vXJdh
Output for 5.6.9
/tmp/wy3YwV
Output for 5.6.8
/tmp/5Ec3xe
Output for 5.5.35
/tmp/QTzU74
Output for 5.5.34
/tmp/RPYIEV
Output for 5.5.33
/tmp/eV13DW
Output for 5.5.32
/tmp/THYj3O
Output for 5.5.31
/tmp/F1aiw0
Output for 5.5.30
/tmp/5xbbq5
Output for 5.5.29
/tmp/McXMUc
Output for 5.5.28
/tmp/zEipDX
Output for 5.5.27
/tmp/292qxx
Output for 5.5.26
/tmp/DO4GH6
Output for 5.5.25
/tmp/1gNaz8
Output for 5.5.24
/tmp/bklbfY
Output for 5.4.45
/tmp/dJgRZO
Output for 5.4.44
/tmp/VxTRO1
Output for 5.4.43
/tmp/A04g4J
Output for 5.4.42
/tmp/Yti60F
Output for 5.4.41
/tmp/DCLmQU
Output for 5.4.40
/tmp/Sr9DNa
Output for 5.4.39
/tmp/VjT66z
Output for 5.4.38
/tmp/r8hKKd
Output for 5.4.37
/tmp/zSy7Ez
Output for 5.4.36
/tmp/jRer0d
Output for 5.4.35
/tmp/k4Ap1z
Output for 5.4.34
/tmp/unJDix
Output for 5.4.32
/tmp/fdjsyR
Output for 5.4.31
/tmp/hdX9ff
Output for 5.4.30
/tmp/FKtUyR
Output for 5.4.29
/tmp/HiJCp5
Output for 5.4.28
/tmp/CvWOxp
Output for 5.4.27
/tmp/jp01RY
Output for 5.4.26
/tmp/odo9HO
Output for 5.4.25
/tmp/ClFwsf
Output for 5.4.24
/tmp/ecEeVe
Output for 5.4.23
/tmp/bBB6QB
Output for 5.4.22
/tmp/EXiZt3
Output for 5.4.21
/tmp/G0fiXs
Output for 5.4.20
/tmp/KoMiR7
Output for 5.4.19
/tmp/lE07c9
Output for 5.4.18
/tmp/K0fZTs
Output for 5.4.17
/tmp/2tfwl3
Output for 5.4.16
/tmp/i7sGyk
Output for 5.4.15
/tmp/RpbIPy
Output for 5.4.14
/tmp/feeoQL
Output for 5.4.13
/tmp/qGpwzq
Output for 5.4.12
/tmp/Ea5q8Z
Output for 5.4.11
/tmp/N3rvA3
Output for 5.4.10
/tmp/itti0L
Output for 5.4.9
/tmp/0t2a2g
Output for 5.4.8
/tmp/mxjIjg
Output for 5.4.7
/tmp/JIMZdV
Output for 5.4.6
/tmp/vgQofc
Output for 5.4.5
/tmp/0Q5Xst
Output for 5.4.4
/tmp/560imb
Output for 5.4.3
/tmp/J0eosA
Output for 5.4.2
/tmp/ZsY8Uw
Output for 5.4.1
/tmp/lokLW4
Output for 5.4.0
/tmp/meaBWu

preferences:
219.32 ms | 401 KiB | 229 Q