3v4l.org

run code in 500+ PHP versions simultaneously
<?php trait A{ public function a(){} } trait B{ use A; } trait C{ use A; } class D{ // use B, C; // Fatal error: Trait method a has not been applied, because there are collisions with other trait methods on D }

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.5.70.0110.00416.54
8.5.60.0110.00616.62
8.5.50.0060.00716.60
8.5.30.0100.00717.39
8.5.20.0120.00520.25
8.5.10.0100.00920.16
8.5.00.0110.01019.93
8.4.210.0070.00219.29
8.4.180.0160.00821.38
8.4.170.0030.00820.29
8.4.160.0160.00822.06
8.4.150.0090.00516.80
8.4.140.0120.01017.43
8.4.130.0130.00717.76
8.4.120.0100.01022.26
8.4.110.0110.00918.73
8.4.100.0150.00618.63
8.4.90.0100.01020.59
8.4.80.0080.00822.39
8.4.70.0080.00217.87
8.4.60.0140.00618.86
8.4.50.0090.01217.77
8.4.40.0130.00617.51
8.4.30.0130.00617.39
8.4.20.0070.01317.43
8.4.10.0000.00917.68
8.3.300.0110.00920.73
8.3.290.0120.00820.73
8.3.280.0120.00818.45
8.3.270.0110.00916.63
8.3.260.0100.00516.41
8.3.250.0120.00918.87
8.3.240.0120.00717.09
8.3.230.0110.00816.64
8.3.220.0090.00918.82
8.3.210.0060.00216.64
8.3.200.0050.00416.65
8.3.190.0060.01317.16
8.3.180.0120.00718.27
8.3.170.0030.00616.53
8.3.160.0110.00416.42
8.3.150.0150.00317.19
8.3.140.0140.00417.18
8.3.130.0040.00418.34
8.3.120.0090.00618.66
8.3.110.0130.00720.94
8.3.100.0040.00424.06
8.3.90.0120.00618.43
8.3.80.0000.01018.31
8.3.70.0070.01116.38
8.3.60.0110.00316.25
8.3.50.0100.01021.13
8.3.40.0100.00718.48
8.3.30.0140.00018.46
8.3.20.0090.00620.07
8.3.10.0070.00021.78
8.3.00.0040.00421.78
8.2.300.0110.01322.15
8.2.290.0130.00520.00
8.2.280.0060.00318.31
8.2.270.0120.00616.34
8.2.260.0180.00018.91
8.2.250.0040.00418.10
8.2.240.0140.00716.76
8.2.230.0000.00922.58
8.2.220.0030.00637.54
8.2.210.0070.01326.77
8.2.200.0040.00816.50
8.2.190.0150.00016.61
8.2.180.0110.00316.38
8.2.170.0110.00322.96
8.2.160.0040.01120.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00220.99
8.2.110.0080.00321.07
8.2.100.0080.00317.90
8.2.90.0040.00419.14
8.2.80.0040.00417.97
8.2.70.0030.00717.38
8.2.60.0080.00017.80
8.2.50.0000.00818.09
8.2.40.0030.00622.18
8.2.30.0040.00419.23
8.2.20.0070.00017.64
8.2.10.0030.00617.90
8.2.00.0000.00718.05
8.1.340.0110.01017.55
8.1.330.0130.00616.15
8.1.320.0130.00715.94
8.1.310.0150.00016.35
8.1.300.0040.00418.22
8.1.290.0090.00018.88
8.1.280.0210.00025.92
8.1.270.0060.00323.76
8.1.260.0030.00626.35
8.1.250.0000.00828.09
8.1.240.0080.00022.67
8.1.230.0070.00319.16
8.1.220.0070.00017.74
8.1.210.0030.00618.77
8.1.200.0070.00417.10
8.1.190.0040.00417.10
8.1.180.0090.00018.10
8.1.170.0030.00618.71
8.1.160.0000.00720.56
8.1.150.0000.00720.73
8.1.140.0040.00419.42
8.1.130.0040.00417.54
8.1.120.0000.00717.43
8.1.110.0000.00717.21
8.1.100.0050.00217.40
8.1.90.0080.00017.32
8.1.80.0000.00717.25
8.1.70.0040.00417.39
8.1.60.0030.00617.49
8.1.50.0030.00617.38
8.1.40.0050.00217.38
8.1.30.0080.00017.48
8.1.20.0080.00317.50
8.1.10.0080.00017.27
8.1.00.0000.00717.34
8.0.300.0000.00818.77
8.0.290.0090.00016.63
8.0.280.0000.00718.43
8.0.270.0060.00316.74
8.0.260.0030.00317.21
8.0.250.0030.00316.89
8.0.240.0000.00816.92
8.0.230.0030.00316.91
8.0.220.0070.00016.84
8.0.210.0030.00316.83
8.0.200.0000.00616.88
8.0.190.0000.00816.73
8.0.180.0040.00416.76
8.0.170.0030.00616.84
8.0.160.0030.00316.92
8.0.150.0030.00316.75
8.0.140.0030.00616.73
8.0.130.0000.00613.30
8.0.120.0040.00416.79
8.0.110.0030.00516.65
8.0.100.0070.00016.83
8.0.90.0040.00416.70
8.0.80.0100.00616.70
8.0.70.0050.00316.64
8.0.60.0040.00416.72
8.0.50.0030.00516.66
8.0.30.0080.01016.91
8.0.20.0100.01017.40
8.0.10.0000.00716.71
8.0.00.0090.00816.73
7.4.330.0050.00016.69
7.4.320.0000.00616.47
7.4.300.0040.00416.51
7.4.290.0000.00616.42
7.4.280.0050.00316.42
7.4.270.0000.00716.44
7.4.260.0030.00316.38
7.4.250.0030.00516.47
7.4.240.0030.00316.37
7.4.230.0000.00716.33
7.4.220.0170.00016.45
7.4.210.0100.00416.44
7.4.200.0030.00316.41
7.4.160.0060.00916.46
7.4.150.0110.00717.40
7.4.140.0100.01217.86
7.4.130.0130.00616.43
7.4.120.0100.00916.38
7.4.110.0070.01116.50
7.4.100.0110.01116.47
7.4.90.0150.00916.23
7.4.80.0090.00819.39
7.4.70.0070.01116.32
7.4.60.0100.00616.32
7.4.50.0030.01316.52
7.4.40.0070.01016.52
7.4.30.0130.01016.25
7.4.00.0070.00715.14
7.3.330.0000.00513.17
7.3.320.0000.00513.18
7.3.310.0000.00616.22
7.3.300.0030.00316.17
7.3.290.0070.00816.18
7.3.280.0070.00816.13
7.3.270.0100.01017.40
7.3.260.0090.00916.24
7.3.250.0100.01216.25
7.3.240.0100.01016.31
7.3.230.0090.00916.39
7.3.210.0060.01016.45
7.3.200.0110.00619.39
7.3.190.0170.00016.45
7.3.180.0130.00316.20
7.3.170.0080.00816.41
7.3.160.0090.00616.09
7.3.120.0060.01314.90
7.3.110.0070.01114.81
7.3.100.0160.00014.57
7.3.90.0100.00614.68
7.3.80.0090.00314.35
7.3.70.0040.00814.76
7.3.60.0000.01214.49
7.3.50.0030.00714.51
7.3.40.0030.00514.73
7.3.30.0110.00314.51
7.3.20.0040.01116.31
7.3.10.0000.01016.43
7.3.00.0030.01016.65
7.2.330.0030.01416.62
7.2.320.0030.01516.58
7.2.310.0060.00916.41
7.2.300.0060.01116.63
7.2.290.0130.00316.43
7.2.240.0040.01114.82
7.2.230.0070.01014.79
7.2.220.0060.00614.63
7.2.210.0000.00814.94
7.2.200.0000.01415.08
7.2.190.0060.00314.93
7.2.180.0030.01015.02
7.2.170.0070.00314.67
7.2.160.0030.01314.89
7.2.150.0030.00716.70
7.2.140.0030.01316.47
7.2.130.0100.00316.78
7.2.120.0000.01216.73
7.2.110.0060.00916.78
7.2.100.0000.01216.74
7.2.90.0090.00016.69
7.2.80.0030.00916.76
7.2.70.0030.00916.91
7.2.60.0060.00716.69
7.2.50.0040.01216.91
7.2.40.0000.01416.91
7.2.30.0030.01016.87
7.2.20.0070.00416.80
7.2.10.0040.00416.64
7.2.00.0050.00918.13
7.1.330.0030.01515.77
7.1.320.0080.00015.44
7.1.310.0070.00415.61
7.1.300.0050.00515.70
7.1.290.0070.00715.80
7.1.280.0110.00015.45
7.1.270.0090.00615.72
7.1.260.0000.01315.56
7.1.250.0060.00615.52
7.1.200.0070.00315.52
7.1.100.0030.01217.92
7.1.70.0030.00916.79
7.1.60.0030.02019.40
7.1.50.0070.02016.82
7.1.00.0000.07322.31
7.0.200.0550.01314.36
7.0.60.0200.06321.77
7.0.50.0070.03717.80
7.0.40.0070.08720.13
7.0.30.0100.04720.06
7.0.20.0270.06720.16
7.0.10.0070.05320.16
7.0.00.0130.04320.06
5.6.280.0000.05320.91
5.6.210.0100.05720.65
5.6.200.0030.09018.20
5.6.190.0100.06720.55
5.6.180.0270.05320.63
5.6.170.0270.05020.51
5.6.160.0130.07320.46
5.6.150.0100.05718.29
5.6.140.0100.04718.17
5.6.130.0030.05718.27
5.6.120.0070.07020.89
5.6.110.0070.04020.98
5.6.100.0130.06721.02
5.6.90.0130.03321.00
5.6.80.0100.08020.50
5.5.350.0070.06320.41
5.5.340.0070.03318.08
5.5.330.0030.05320.30
5.5.320.0270.06720.42
5.5.310.0330.04020.20
5.5.300.0030.07717.97
5.5.290.0070.03717.92
5.5.280.0170.05020.87
5.5.270.0030.08020.88
5.5.260.0000.04320.86
5.5.250.0100.07320.49
5.5.240.0100.09020.27

preferences:
112.79 ms | 1670 KiB | 5 Q