3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('DEFAULT_ROLES', array('guy', 'development team')); class t { const DEFAULT_ROLES = array('guy', 'development team'); }

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.70.0140.00016.25
8.3.60.0070.00716.38
8.3.50.0160.00521.82
8.3.40.0110.00718.54
8.3.30.0100.00318.45
8.3.20.0090.00018.99
8.3.10.0050.00221.77
8.3.00.0050.00319.69
8.2.190.0100.00316.58
8.2.180.0090.01216.38
8.2.170.0080.00822.96
8.2.160.0140.00018.86
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00022.09
8.2.120.0040.00426.35
8.2.110.0090.00020.82
8.2.100.0090.00317.54
8.2.90.0040.00418.16
8.2.80.0040.00417.97
8.2.70.0000.00917.50
8.2.60.0060.00317.80
8.2.50.0030.00618.10
8.2.40.0040.00422.10
8.2.30.0040.00418.99
8.2.20.0040.00417.60
8.2.10.0000.00717.98
8.2.00.0000.00717.80
8.1.280.0090.01225.92
8.1.270.0080.00023.97
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0040.00423.84
8.1.230.0070.00420.89
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0030.00617.22
8.1.180.0080.00018.10
8.1.170.0000.00818.49
8.1.160.0070.00022.16
8.1.150.0020.00518.66
8.1.140.0000.00719.34
8.1.130.0040.00417.61
8.1.120.0080.00017.31
8.1.110.0040.00417.23
8.1.100.0030.00417.22
8.1.90.0040.00417.27
8.1.80.0020.00517.23
8.1.70.0000.00717.20
8.1.60.0000.00717.43
8.1.50.0040.00417.43
8.1.40.0020.00517.39
8.1.30.0000.00817.58
8.1.20.0040.00417.44
8.1.10.0000.00817.42
8.1.00.0070.00017.18
8.0.300.0000.00819.91
8.0.290.0000.00716.58
8.0.280.0030.00318.35
8.0.270.0070.00017.18
8.0.260.0000.00617.16
8.0.250.0040.00416.78
8.0.240.0030.00316.86
8.0.230.0060.00316.70
8.0.220.0040.00416.66
8.0.210.0030.00316.65
8.0.200.0060.00016.79
8.0.190.0030.00616.70
8.0.180.0000.00816.78
8.0.170.0020.00516.67
8.0.160.0040.00416.64
8.0.150.0000.00816.74
8.0.140.0050.00316.76
8.0.130.0000.00513.18
8.0.120.0000.00716.82
8.0.110.0020.00516.63
8.0.100.0020.00516.84
8.0.90.0050.00316.70
8.0.80.0110.00316.69
8.0.70.0000.00816.73
8.0.60.0040.00416.81
8.0.50.0040.00416.58
8.0.30.0150.00216.73
8.0.20.0130.00717.40
8.0.10.0070.00016.74
8.0.00.0130.00416.53
7.4.330.0000.00415.08
7.4.320.0060.00016.27
7.4.300.0060.00016.35
7.4.290.0050.00316.52
7.4.280.0080.00316.30
7.4.270.0040.00416.46
7.4.260.0040.00416.41
7.4.250.0030.00316.45
7.4.240.0020.00516.32
7.4.230.0040.00416.48
7.4.220.0030.01616.45
7.4.210.0000.01816.39
7.4.200.0030.00316.31
7.4.160.0080.00816.24
7.4.150.0130.00517.40
7.4.140.0090.00917.86
7.4.130.0140.00416.41
7.4.120.0150.00516.30
7.4.110.0080.00816.49
7.4.100.0120.00416.40
7.4.90.0140.00316.43
7.4.80.0030.01219.39
7.4.70.0100.00716.27
7.4.60.0150.00316.31
7.4.50.0060.00916.41
7.4.40.0100.01316.41
7.4.30.0130.00316.47
7.4.00.0060.01114.78
7.3.330.0000.00513.14
7.3.320.0000.00612.95
7.3.310.0000.00716.17
7.3.300.0060.00016.26
7.3.290.0110.00716.20
7.3.280.0080.01016.16
7.3.270.0030.01417.40
7.3.260.0100.00716.48
7.3.250.0080.01216.15
7.3.240.0090.01116.33
7.3.230.0070.01116.39
7.3.210.0180.00416.39
7.3.200.0110.00816.09
7.3.190.0080.00816.22
7.3.180.0110.01116.14
7.3.170.0160.00316.34
7.3.160.0030.01216.42
7.3.120.0160.00314.43
7.3.110.0000.01714.80
7.3.100.0060.00914.49
7.3.90.0080.00814.66
7.3.80.0100.00314.30
7.3.70.0030.00514.65
7.3.60.0110.00414.34
7.3.50.0000.01414.70
7.3.40.0060.00614.82
7.3.30.0070.00714.38
7.3.20.0040.00416.35
7.3.10.0140.00616.25
7.3.00.0140.00616.06
7.2.330.0150.00916.54
7.2.320.0140.00416.49
7.2.310.0050.01316.36
7.2.300.0070.01516.48
7.2.290.0140.00616.54
7.2.250.0130.00715.05
7.2.240.0100.01014.64
7.2.230.0070.01115.09
7.2.220.0000.01514.34
7.2.210.0090.00314.68
7.2.200.0060.00614.90
7.2.190.0060.00914.75
7.2.180.0060.00614.55
7.2.170.0030.01014.87
7.2.130.0140.00516.37
7.2.120.0110.00516.15
7.2.110.0130.00816.33
7.2.100.0130.00916.01
7.2.90.0110.00616.40
7.2.80.0030.01116.13
7.2.70.0110.01116.26
7.2.60.0120.00516.38
7.2.50.0090.00916.16
7.2.40.0140.00716.22
7.2.30.0150.00816.39
7.2.20.0170.00816.27
7.2.10.0140.00816.27
7.2.00.0100.01017.49
7.1.330.0120.00315.69
7.1.320.0060.01215.53
7.1.310.0050.00515.78
7.1.300.0030.00715.66
7.1.290.0060.00615.48
7.1.280.0030.00915.60
7.1.270.0090.00415.57
7.1.260.0070.01015.43
7.1.250.0090.00915.11
7.1.200.0060.00615.75
7.1.100.0080.00417.71
7.1.70.0030.00616.96
7.1.60.0180.00019.75
7.1.50.0070.01416.95
7.1.00.0100.06722.48
7.0.200.0190.01014.42
7.0.90.0030.07319.98
7.0.80.0070.06719.89
7.0.70.0100.06019.98
7.0.60.0170.05319.96
7.0.50.0130.05720.39
7.0.40.0070.06320.29
7.0.30.0070.06720.23
7.0.20.0170.05720.25
7.0.10.0230.05720.37
7.0.00.0100.06320.23
5.6.240.0170.05320.78
5.6.230.0100.06720.62
5.6.220.0030.06320.60
5.6.210.0330.07320.86
5.6.200.0130.05720.97
5.6.190.0000.06720.98
5.6.180.0100.06321.02
5.6.170.0170.05721.03
5.6.160.0030.06321.08
5.6.150.0170.07021.15
5.6.140.0130.06021.08
5.6.130.0070.06020.98
5.6.120.0100.06021.07
5.6.110.0130.05721.01
5.6.100.0030.06321.00
5.6.90.0200.05320.98
5.6.80.0200.05020.50
5.6.70.0130.05020.49
5.6.60.0130.04720.48
5.6.50.0100.05320.46
5.6.40.0070.06020.38
5.6.30.0130.05320.33
5.6.20.0230.04320.47
5.6.10.0100.05720.28
5.6.00.0130.05320.34

preferences:
48.14 ms | 401 KiB | 5 Q