3v4l.org

run code in 300+ PHP versions simultaneously
<?php $author = stdClass(); $author->ID = 1; if (isset($author->ID)) { echo 'hello'; }

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.0150.00316.63
8.3.50.0040.01118.04
8.3.40.0000.01619.02
8.3.30.0090.00618.72
8.3.20.0050.00320.34
8.3.10.0050.00323.70
8.3.00.0050.00317.92
8.2.180.0110.00418.13
8.2.170.0140.00422.96
8.2.160.0170.00320.37
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0060.00317.63
8.2.110.0080.00422.24
8.2.100.0110.00017.80
8.2.90.0050.00319.22
8.2.80.0050.00317.97
8.2.70.0000.00917.50
8.2.60.0040.00417.80
8.2.50.0060.00318.07
8.2.40.0040.00421.11
8.2.30.0000.00720.68
8.2.20.0040.00417.59
8.2.10.0000.00818.00
8.2.00.0030.00517.91
8.1.280.0070.01025.92
8.1.270.0090.00024.01
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00322.61
8.1.230.0060.00619.01
8.1.220.0060.00317.74
8.1.210.0060.00318.77
8.1.200.0050.00517.35
8.1.190.0000.00817.11
8.1.180.0000.00718.10
8.1.170.0040.00418.59
8.1.160.0070.00021.93
8.1.150.0040.00418.77
8.1.140.0050.00319.15
8.1.130.0040.00417.57
8.1.120.0000.00717.36
8.1.110.0000.00717.40
8.1.100.0070.00017.25
8.1.90.0030.00417.36
8.1.80.0000.00717.25
8.1.70.0070.00017.34
8.1.60.0040.00417.35
8.1.50.0000.00717.51
8.1.40.0040.00417.45
8.1.30.0040.00417.57
8.1.20.0030.00517.59
8.1.10.0040.00417.47
8.1.00.0000.00817.46
8.0.300.0020.00518.77
8.0.290.0000.00716.63
8.0.280.0070.00018.29
8.0.270.0070.00017.11
8.0.260.0060.00017.18
8.0.250.0030.00416.87
8.0.240.0060.00016.91
8.0.230.0070.00016.84
8.0.220.0000.00716.85
8.0.210.0030.00316.81
8.0.200.0000.00716.86
8.0.190.0050.00316.95
8.0.180.0030.00316.92
8.0.170.0040.00416.98
8.0.160.0040.00417.02
8.0.150.0070.00016.75
8.0.140.0040.00416.85
8.0.130.0030.00313.30
8.0.120.0080.00016.75
8.0.110.0040.00416.89
8.0.100.0050.00316.93
8.0.90.0070.00016.77
8.0.80.0030.01216.84
8.0.70.0070.00016.83
8.0.60.0040.00416.79
8.0.50.0040.00416.83
8.0.30.0100.00517.14
8.0.20.0090.00917.40
8.0.10.0040.00416.91
8.0.00.0120.01116.63
7.4.330.0000.00615.08
7.4.320.0000.00616.39
7.4.300.0050.00216.54
7.4.290.0030.00616.52
7.4.280.0070.00016.52
7.4.270.0030.00316.37
7.4.260.0070.00016.57
7.4.250.0040.00416.42
7.4.240.0030.00416.40
7.4.230.0030.00316.64
7.4.220.0070.01016.63
7.4.210.0030.01616.64
7.4.200.0030.00316.29
7.4.160.0110.00416.43
7.4.150.0100.01017.40
7.4.140.0110.01017.86
7.4.130.0070.01216.46
7.4.120.0110.00616.47
7.4.110.0070.01616.30
7.4.100.0120.00616.30
7.4.90.0100.00716.50
7.4.80.0130.01019.39
7.4.70.0150.00616.57
7.4.60.0160.00616.52
7.4.50.0030.00616.30
7.4.40.0120.00916.53
7.4.30.0090.00916.56
7.4.00.0100.00714.71
7.3.330.0050.00013.10
7.3.320.0000.00613.10
7.3.310.0070.00016.20
7.3.300.0070.00016.23
7.3.290.0040.01116.27
7.3.280.0070.00916.30
7.3.270.0030.01317.40
7.3.260.0120.00916.35
7.3.250.0150.00416.28
7.3.240.0090.00916.47
7.3.230.0030.01316.39
7.3.210.0040.01416.51
7.3.200.0090.01216.25
7.3.190.0130.00316.50
7.3.180.0090.00916.38
7.3.170.0170.00316.45
7.3.160.0080.01416.55
7.2.330.0130.00316.53
7.2.320.0110.01116.52
7.2.310.0040.01216.25
7.2.300.0060.01016.52
7.2.290.0030.01416.56
7.2.60.0110.00416.77
7.2.00.0040.01119.39
7.1.200.0030.00815.59
7.1.100.0070.01018.06
7.1.70.0050.00217.02
7.1.60.0150.00919.50
7.1.50.0070.00716.62
7.1.00.0030.07722.28
7.0.200.0120.00016.57
7.0.60.0170.06719.78
7.0.50.0130.07317.88
7.0.40.0030.08320.02
7.0.30.0300.08320.20
7.0.20.0300.05320.12
7.0.10.0200.06320.24
7.0.00.0030.05320.16
5.6.280.0000.03721.02
5.6.210.0200.07320.55
5.6.200.0070.08318.12
5.6.190.0170.03320.56
5.6.180.0400.05320.35
5.6.170.0200.04320.33
5.6.160.0100.08720.44
5.6.150.0070.04018.19
5.6.140.0100.05718.14
5.6.130.0070.03718.18
5.6.120.0070.04320.99
5.6.110.0100.06021.12
5.6.100.0100.07320.96
5.6.90.0130.07721.00
5.6.80.0100.07320.52
5.5.350.0170.08320.48
5.5.340.0070.06717.93
5.5.330.0100.05720.38
5.5.320.0370.07320.29
5.5.310.0470.06320.30
5.5.300.0070.04717.91
5.5.290.0030.06017.89
5.5.280.0070.03720.80
5.5.270.0070.08720.86
5.5.260.0100.08020.86
5.5.250.0100.03720.61
5.5.240.0130.02320.15
5.4.450.0730.06019.49
5.4.440.0530.06019.13
5.4.430.0670.06019.46
5.4.420.0130.06719.44
5.4.410.0170.06719.00
5.4.400.0830.03718.78
5.4.390.0300.05018.81
5.4.380.0170.04719.26
5.4.370.0430.05319.28
5.4.360.0430.06019.18
5.4.350.0730.05018.81
5.4.340.0800.04718.80
5.4.320.0800.05319.16
5.4.310.0700.05019.16
5.4.300.0530.06319.14
5.4.290.0800.05319.14
5.4.280.0970.07018.77
5.4.270.0770.07718.80
5.4.260.0930.06319.15
5.4.250.0530.06019.16
5.4.240.0700.04719.27
5.4.230.0670.05718.94
5.4.220.0770.06319.07
5.4.210.0930.07019.21
5.4.200.0770.06019.19
5.4.190.0700.06019.21
5.4.180.0700.06718.79
5.4.170.0670.05319.08
5.4.160.0730.05318.97
5.4.150.0800.05718.94
5.4.140.0700.06316.43
5.4.130.0630.05016.11
5.4.120.0670.04716.11
5.4.110.0830.08016.41
5.4.100.0630.05316.45
5.4.90.0670.05316.49
5.4.80.0870.07016.20
5.4.70.0030.05316.50
5.4.60.0230.04316.36
5.4.50.0270.07016.45
5.4.40.0270.05716.09
5.4.30.0030.04316.27
5.4.20.0070.06316.15
5.4.10.0170.04316.36

preferences:
46.88 ms | 400 KiB | 5 Q