3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = getenv("FOO") ?: "none";

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0160.00316.63
8.3.50.0070.00716.43
8.3.40.0030.01318.59
8.3.30.0140.00018.42
8.3.20.0000.00724.18
8.3.10.0020.00524.66
8.3.00.0080.00026.16
8.2.180.0090.00625.92
8.2.170.0140.00018.96
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0080.00021.11
8.2.110.0050.00322.11
8.2.100.0090.00319.51
8.2.90.0040.00417.46
8.2.80.0030.00618.73
8.2.70.0000.00917.91
8.2.60.0000.00817.63
8.2.50.0030.00617.63
8.2.40.0040.00417.75
8.2.30.0070.00017.96
8.2.20.0040.00418.04
8.2.10.0060.00319.29
8.2.00.0040.00419.14
8.1.280.0110.00325.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.01120.27
8.1.230.0040.00717.64
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0030.00617.23
8.1.180.0050.00318.10
8.1.170.0040.00417.62
8.1.160.0000.00718.78
8.1.150.0050.00318.87
8.1.140.0030.00318.87
8.1.130.0030.00320.08
8.1.120.0000.00717.45
8.1.110.0040.00417.42
8.1.100.0030.00617.52
8.1.90.0000.00717.40
8.1.80.0030.00717.38
8.1.70.0000.00717.40
8.1.60.0050.00317.61
8.1.50.0060.00317.54
8.1.40.0040.00717.43
8.1.30.0040.00417.62
8.1.20.0030.00517.53
8.1.10.0040.00417.45
8.1.00.0060.00317.43
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0050.00318.43
8.0.270.0000.00717.90
8.0.260.0070.00018.35
8.0.250.0040.00416.86
8.0.240.0000.00816.90
8.0.230.0000.00716.82
8.0.220.0070.00016.90
8.0.210.0050.00216.74
8.0.200.0000.00816.98
8.0.190.0000.00916.83
8.0.180.0000.00716.95
8.0.170.0040.00416.89
8.0.160.0030.00316.87
8.0.150.0030.00316.83
8.0.140.0050.00516.87
8.0.130.0050.00013.31
8.0.120.0060.00516.77
8.0.110.0040.00416.68
8.0.100.0000.00716.86
8.0.90.0000.00716.84
8.0.80.0030.01016.91
8.0.70.0030.00616.76
8.0.60.0040.00416.93
8.0.50.0000.00716.81
8.0.30.0050.01016.75
8.0.20.0080.01216.96
8.0.10.0140.00817.01
8.0.00.0180.00716.97
7.4.330.0000.00515.55
7.4.320.0000.00616.39
7.4.300.0000.00716.39
7.4.290.0040.00416.43
7.4.280.0000.00716.50
7.4.270.0040.00416.59
7.4.260.0000.00513.18
7.4.250.0000.00716.50
7.4.240.0070.00016.51
7.4.230.0030.00316.68
7.4.220.0030.00316.40
7.4.210.0070.00716.63
7.4.200.0030.00316.30
7.4.160.0100.01416.68
7.4.150.0150.00716.56
7.4.140.0150.01416.37
7.4.130.0130.00916.46
7.4.120.0220.00716.27
7.4.110.0140.00916.28
7.4.100.0160.00616.40
7.4.90.0100.01016.47
7.4.80.0180.00616.18
7.4.70.0080.01716.46
7.4.60.0180.00616.19
7.4.50.0160.00716.25
7.4.40.0170.00816.18
7.4.30.0120.01016.37
7.4.20.0050.01416.24
7.4.10.0200.00416.56
7.4.00.0060.00916.47
7.3.330.0030.00315.95
7.3.320.0050.00012.88
7.3.310.0060.00016.09
7.3.300.0000.00616.16
7.3.290.0130.00616.13
7.3.270.0120.00816.12
7.3.260.0080.01216.06
7.3.250.0200.00316.07
7.3.240.0190.01116.04
7.3.230.0230.00416.28
7.3.220.0230.00515.96
7.3.210.0210.00515.88
7.3.200.0200.00515.97
7.3.190.0200.00616.05
7.3.180.0200.00816.00
7.3.170.0230.00616.13
7.3.160.0250.00616.05
7.3.150.0170.00916.03
7.3.140.0200.01015.73
7.3.130.0140.00916.07
7.3.120.0070.01316.05
7.3.110.0310.00015.97
7.3.100.0130.01115.81
7.3.90.0170.00716.18
7.3.80.0240.00516.05
7.3.70.0040.01316.27
7.3.60.0200.00716.23
7.3.50.0230.00316.24
7.3.40.0220.00616.27
7.3.30.0080.01516.28
7.3.20.0160.00816.14
7.3.10.0110.01816.02
7.3.00.0100.01516.13

preferences:
67.3 ms | 401 KiB | 5 Q