3v4l.org

run code in 300+ PHP versions simultaneously
<?php $author_id = 12; echo $has_author = "author = $author_id";

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.0070.01116.63
8.3.50.0040.01421.21
8.3.40.0080.00818.59
8.3.30.0100.01018.73
8.3.20.0090.00020.16
8.3.10.0040.00423.66
8.3.00.0000.00723.40
8.2.180.0030.01516.38
8.2.170.0120.00622.96
8.2.160.0130.00720.37
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0000.00721.06
8.2.110.0090.01222.30
8.2.100.0110.00017.93
8.2.90.0000.00819.05
8.2.80.0080.00018.00
8.2.70.0030.00617.50
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0080.00320.47
8.2.30.0070.00019.46
8.2.20.0000.00717.54
8.2.10.0040.00417.92
8.2.00.0000.00718.05
8.1.280.0100.01025.92
8.1.270.0080.01120.19
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0140.00723.92
8.1.230.0100.00019.10
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0040.00418.61
8.1.160.0000.00720.63
8.1.150.0040.00418.80
8.1.140.0000.00819.40
8.1.130.0000.00717.53
8.1.120.0000.00817.30
8.1.110.0050.00317.41
8.1.100.0070.00017.37
8.1.90.0000.00817.37
8.1.80.0030.00317.27
8.1.70.0070.00017.37
8.1.60.0000.00717.48
8.1.50.0060.00317.50
8.1.40.0000.00717.33
8.1.30.0030.00517.53
8.1.20.0000.00717.49
8.1.10.0000.00817.49
8.1.00.0000.00917.32
8.0.300.0100.00218.77
8.0.290.0080.00016.63
8.0.280.0040.00418.39
8.0.270.0050.00217.20
8.0.260.0030.00317.22
8.0.250.0030.00316.97
8.0.240.0060.00016.94
8.0.230.0050.00316.92
8.0.220.0000.00816.91
8.0.210.0000.00716.87
8.0.200.0060.00016.96
8.0.190.0000.00716.82
8.0.180.0110.00016.93
8.0.170.0030.00516.92
8.0.160.0000.00716.89
8.0.150.0030.00316.83
8.0.140.0050.00216.84
8.0.130.0060.00013.25
8.0.120.0090.00016.77
8.0.110.0040.00416.85
8.0.100.0000.00816.85
8.0.90.0030.00616.80
8.0.80.0060.00916.88
8.0.70.0040.00416.68
8.0.60.0000.00716.71
8.0.50.0000.00816.70
8.0.30.0140.00617.07
8.0.20.0090.01017.40
8.0.10.0000.00716.91
8.0.00.0150.00516.71
7.4.330.0040.00016.69
7.4.320.0030.00316.39
7.4.300.0070.00016.39
7.4.290.0030.00316.35
7.4.280.0050.00516.50
7.4.270.0030.00316.42
7.4.260.0000.00716.40
7.4.250.0000.00816.41
7.4.240.0020.00616.46
7.4.230.0030.00316.34
7.4.220.0100.01016.56
7.4.210.0040.01116.51
7.4.200.0070.00016.41
7.4.160.0150.00716.61
7.4.150.0100.00917.40
7.4.140.0130.00917.86
7.4.130.0060.01316.40
7.4.120.0110.00916.43
7.4.110.0070.01116.46
7.4.100.0150.00416.40
7.4.90.0060.01016.40
7.4.80.0120.00919.39
7.4.70.0130.00616.48
7.4.60.0110.00716.55
7.4.50.0090.00316.41
7.4.40.0110.00516.44
7.4.30.0110.00816.34
7.4.00.0090.00714.79
7.3.330.0000.00513.02
7.3.320.0050.00013.02
7.3.310.0000.00716.19
7.3.300.0000.00716.27
7.3.290.0080.00816.20
7.3.280.0120.00716.17
7.3.270.0170.00017.40
7.3.260.0100.00716.48
7.3.250.0090.01016.39
7.3.240.0110.01016.37
7.3.230.0130.00316.52
7.3.210.0060.01616.27
7.3.200.0100.00719.39
7.3.190.0130.00916.46
7.3.180.0070.00716.12
7.3.170.0120.00916.27
7.3.160.0100.00716.25
7.3.120.0070.01114.91
7.3.110.0060.00614.33
7.3.100.0060.00914.82
7.3.90.0030.00914.74
7.3.80.0000.00914.89
7.3.70.0080.00314.76
7.3.60.0030.01014.73
7.3.50.0140.00014.66
7.3.40.0080.00814.44
7.3.30.0060.01014.65
7.3.20.0070.00716.61
7.3.10.0070.00916.24
7.3.00.0080.00816.42
7.2.330.0100.00716.39
7.2.320.0110.00616.20
7.2.310.0080.00816.58
7.2.300.0090.01216.59
7.2.290.0100.00716.39
7.2.250.0030.01414.74
7.2.240.0050.01314.75
7.2.230.0070.01014.70
7.2.220.0060.00914.81
7.2.210.0030.01014.86
7.2.200.0060.00914.92
7.2.190.0070.00714.89
7.2.180.0070.00714.82
7.2.170.0100.00714.69
7.2.130.0090.00616.62
7.2.120.0050.01116.49
7.2.110.0110.00616.59
7.2.100.0090.00716.65
7.2.90.0120.00516.49
7.2.80.0040.01316.71
7.2.70.0070.00816.69
7.2.60.0100.00616.68
7.2.50.0110.00416.73
7.2.40.0090.00916.74
7.2.30.0120.00716.54
7.2.20.0120.00916.78
7.2.10.0070.01016.74
7.2.00.0090.01116.78
7.1.330.0030.01015.66
7.1.320.0020.01215.71
7.1.310.0060.01015.77
7.1.300.0110.00415.79
7.1.290.0030.01315.60
7.1.280.0090.00615.45
7.1.270.0070.00715.61
7.1.260.0080.00815.47
7.1.250.0090.00615.40
7.1.200.0050.00415.77
7.1.70.0070.00317.07
7.1.60.0040.00817.23
7.1.50.0140.01116.87
7.1.00.0030.07722.31
7.0.200.0000.00716.62
7.0.60.0070.09021.82
7.0.50.0100.08317.88
7.0.40.0070.07020.08
7.0.30.0370.06720.02
7.0.20.0370.06720.04
7.0.10.0070.08320.16
7.0.00.0070.09020.19
5.6.280.0070.04321.07
5.6.210.0070.04020.50
5.6.200.0030.06318.17
5.6.190.0070.08320.57
5.6.180.0470.07320.64
5.6.170.0330.07320.38
5.6.160.0030.06020.37
5.6.150.0030.08318.18
5.6.140.0100.07718.14
5.6.130.0130.06318.11
5.6.120.0070.08721.14
5.6.110.0030.08720.98
5.6.100.0070.08321.08
5.6.90.0100.04320.96
5.6.80.0070.08320.47
5.5.350.0000.07320.42
5.5.340.0000.04317.89
5.5.330.0100.04720.23
5.5.320.0430.06720.17
5.5.310.0170.05320.32
5.5.300.0100.07717.98
5.5.290.0100.08317.91
5.5.280.0070.04020.64
5.5.270.0070.07720.87
5.5.260.0000.05020.64
5.5.250.0130.07020.57
5.5.240.0170.07720.25

preferences:
41.8 ms | 401 KiB | 5 Q