3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class A { abstract public function createApp(); } class B extends A { use C; } trait C { public static function createApp() { echo "You should not be here\n"; } } (new B)->createApp();

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.1.130.0000.00720.11
8.1.120.0030.00517.32
8.1.110.0040.00417.38
8.1.100.0050.00217.39
8.1.90.0020.00517.29
8.1.80.0000.00717.29
8.1.70.0070.00317.43
8.1.60.0080.00017.48
8.1.50.0000.00817.33
8.1.40.0000.00817.46
8.1.30.0030.00617.49
8.1.20.0070.00017.46
8.1.10.0040.00417.38
8.1.00.0000.00717.29
8.0.260.0000.00819.87
8.0.250.0000.00716.95
8.0.240.0040.00416.90
8.0.230.0000.00616.94
8.0.220.0000.00716.79
8.0.210.0040.00416.85
8.0.200.0000.00716.92
8.0.190.0040.00416.84
8.0.180.0040.00416.96
8.0.170.0040.00416.88
8.0.160.0040.00416.87
8.0.150.0000.00716.68
8.0.140.0030.00316.72
8.0.130.0030.00313.36
8.0.120.0050.00316.86
8.0.110.0000.00816.77
8.0.100.0000.00716.84
8.0.90.0090.00016.85
8.0.80.0100.00616.87
8.0.70.0030.00316.75
8.0.60.0070.00016.69
8.0.50.0040.00416.84
8.0.30.0100.00917.06
8.0.20.0050.01516.90
8.0.10.0040.00416.98
8.0.00.0110.00716.70
7.4.330.0000.00415.55
7.4.320.0060.00016.41
7.4.300.0060.00016.36
7.4.290.0000.00816.28
7.4.280.0040.00416.44
7.4.270.0030.00316.54
7.4.260.0000.00613.21
7.4.250.0000.00716.42
7.4.240.0000.00716.42
7.4.230.0000.00716.43
7.4.220.0030.00316.48
7.4.210.0080.00816.45
7.4.200.0030.00316.42
7.4.140.0030.01517.86
7.4.130.0140.00416.47
7.4.120.0040.01416.50
7.4.110.0070.01016.39
7.4.100.0040.01216.43
7.4.90.0040.01416.52
7.4.80.0090.00619.39
7.4.70.0100.00616.51
7.4.60.0100.00616.59
7.4.50.0090.00616.48
7.4.40.0000.01516.42
7.4.30.0090.00616.28
7.4.20.0070.01116.35
7.4.10.0120.00616.40
7.4.00.0080.00815.74
7.3.330.0030.00516.35
7.3.320.0060.00013.32
7.3.310.0000.00716.15
7.3.300.0000.00816.31
7.3.290.0000.00716.20
7.3.280.0070.00716.23
7.3.260.0090.00816.33
7.3.240.0120.00716.37
7.3.230.0140.00416.33
7.3.210.0100.01616.34
7.3.200.0110.01116.47
7.3.190.0080.00916.23
7.3.180.0030.01316.36
7.3.170.0120.00316.26
7.3.160.0100.00716.48
7.3.150.0170.00316.21
7.3.140.0090.00616.55
7.3.130.0120.00816.39
7.3.120.0060.01015.76
7.3.110.0120.00515.90
7.3.100.0100.00615.62
7.3.90.0080.00515.58
7.3.80.0070.01215.47
7.3.70.0100.00615.46
7.3.60.0080.00815.48
7.3.50.0080.00815.57
7.3.40.0050.01215.41
7.3.30.0070.00915.31
7.3.20.0080.00916.04
7.3.10.0060.00815.82
7.3.00.0100.00515.96
7.2.330.0130.00616.57
7.2.320.0040.01816.64
7.2.310.0100.00716.62
7.2.300.0110.01316.73
7.2.290.0120.00316.66
7.2.280.0120.00316.57
7.2.270.0100.00616.48
7.2.260.0070.01316.50
7.2.250.0070.01115.90
7.2.240.0110.00916.11
7.2.230.0040.01115.55
7.2.220.0070.00815.59
7.2.210.0070.01215.53
7.2.200.0080.01115.69
7.2.190.0070.00915.58
7.2.180.0060.01015.52
7.2.170.0080.00915.61
7.2.160.0090.00915.96
7.2.150.0070.00915.89
7.2.140.0060.01315.98
7.2.130.0060.01016.00
7.2.120.0110.00915.97
7.2.110.0110.01115.93
7.2.100.0090.00915.93
7.2.90.0080.00816.05
7.2.80.0090.00716.05
7.2.70.0150.00616.61
7.2.60.0070.00916.57
7.2.50.0100.00816.53
7.2.40.0130.01116.58
7.2.30.0080.00816.66
7.2.20.0070.00916.71
7.2.10.0100.00816.52
7.2.00.0050.01116.58
7.1.330.0090.01015.54
7.1.320.0090.00715.04
7.1.310.0140.00715.26
7.1.300.0180.01015.04
7.1.290.0110.00814.86
7.1.280.0110.00915.07
7.1.270.0100.00814.97
7.1.260.0090.00915.00
7.1.250.0120.00814.87
7.1.240.0170.00815.31
7.1.230.0080.01415.27
7.1.220.0120.01015.33
7.1.210.0120.00515.29
7.1.200.0090.00715.45
7.1.190.0110.00716.15
7.1.180.0120.00716.11
7.1.170.0150.00716.10
7.1.160.0110.00816.26
7.1.150.0120.00516.20
7.1.140.0120.00516.24
7.1.130.0060.01416.12
7.1.120.0080.00916.23
7.1.110.0130.00316.18
7.1.100.0110.00616.08
7.1.90.0140.00516.16
7.1.80.0070.00916.10
7.1.70.0120.00516.21
7.1.60.0140.00416.24
7.1.50.0070.01016.48
7.1.40.0080.00816.21
7.1.30.0060.01216.29
7.1.20.0130.00716.31
7.1.10.0120.00616.21
7.1.00.0170.00716.22
7.0.330.0030.01314.93
7.0.320.0160.00315.13
7.0.310.0050.01014.84
7.0.300.0040.01115.19
7.0.290.0030.01315.19
7.0.280.0300.00315.01
7.0.270.0080.00914.90
7.0.260.0060.01215.09
7.0.250.0040.01215.25
7.0.240.0120.00315.07
7.0.230.0110.00314.97
7.0.220.0070.00715.01
7.0.210.0110.01114.91
7.0.200.0060.01015.11
7.0.190.0070.00715.04
7.0.180.0070.01015.21
7.0.170.0110.00415.11
7.0.160.0080.00515.18
7.0.150.0000.01414.94
7.0.140.0070.00715.07
7.0.130.0100.00515.17
7.0.120.0060.00914.94
7.0.110.0110.00714.64
7.0.100.0030.01214.88
7.0.90.0090.00615.25
7.0.80.0030.01315.02
7.0.70.0080.01315.02
7.0.60.0060.00914.98
7.0.50.0110.00415.14
7.0.40.0060.00915.20
7.0.30.0060.00915.05
7.0.20.0100.00614.84
7.0.10.0060.00914.97
7.0.00.0100.00614.88
5.6.400.0110.00716.09
5.6.390.0120.01616.00
5.6.380.0110.01215.67
5.6.370.0100.00815.85
5.6.360.0000.02015.93
5.6.350.0100.01015.67
5.6.340.0110.01115.93
5.6.330.0110.00915.69
5.6.320.0110.00615.64
5.6.310.0000.02415.96
5.6.300.0130.00315.78
5.6.290.0170.00315.61
5.6.280.0070.01015.84
5.6.270.0060.01215.56
5.6.260.0030.01415.56
5.6.250.0130.00915.78
5.6.240.0070.01015.72
5.6.230.0120.00615.58
5.6.220.0150.00815.82
5.6.210.0110.00715.66
5.6.200.0070.01015.55
5.6.190.0110.00615.41
5.6.180.0150.00415.93
5.6.170.0090.01215.60
5.6.160.0100.01015.44
5.6.150.0160.00315.71
5.6.140.0090.00915.83
5.6.130.0060.01215.56
5.6.120.0040.01515.67
5.6.110.0070.01115.34
5.6.100.0070.01015.59
5.6.90.0060.01015.60
5.6.80.0070.01415.61
5.6.70.0030.01415.66
5.6.60.0060.01215.83
5.6.50.0040.01515.55
5.6.40.0070.01115.57
5.6.30.0030.01515.66
5.6.20.0080.00815.64
5.6.10.0090.01215.43
5.6.00.0110.01015.55
5.5.380.0110.00715.80
5.5.370.0100.00615.83
5.5.360.0090.01215.63
5.5.350.0070.01115.68
5.5.340.0000.01715.71
5.5.330.0070.01315.66
5.5.320.0030.01515.92
5.5.310.0060.01015.79
5.5.300.0060.01315.81
5.5.290.0030.01415.74
5.5.280.0090.00915.71
5.5.270.0120.00615.79
5.5.260.0000.01715.57
5.5.250.0040.01415.38
5.5.240.0090.00915.51
5.5.230.0140.00415.92
5.5.220.0100.00715.58
5.5.210.0000.01715.61
5.5.200.0100.01015.83
5.5.190.0070.01015.76
5.5.180.0090.01215.73
5.5.170.0030.01315.67
5.5.160.0070.01315.75
5.5.150.0090.00915.54
5.5.140.0070.01115.87
5.5.130.0030.01315.67
5.5.120.0070.01015.63
5.5.110.0070.01015.41
5.5.100.0070.01015.86
5.5.90.0030.01515.80
5.5.80.0100.00715.82
5.5.70.0080.00815.84
5.5.60.0070.01115.64
5.5.50.0070.01015.70
5.5.40.0100.00715.87
5.5.30.0080.00815.73
5.5.20.0100.00615.79
5.5.10.0000.01815.66
5.5.00.0030.01515.61
5.4.450.0110.00512.62
5.4.440.0050.00812.70
5.4.430.0030.00912.84
5.4.420.0080.00512.73
5.4.410.0030.00912.77
5.4.400.0030.01012.50
5.4.390.0000.01212.52
5.4.380.0040.00812.60
5.4.370.0070.01012.70
5.4.360.0030.01112.56
5.4.350.0120.00612.58
5.4.340.0100.00712.50
5.4.330.0070.00712.67
5.4.320.0000.01312.52
5.4.310.0110.00412.53
5.4.300.0000.01212.68
5.4.290.0090.00312.50
5.4.280.0000.01212.61
5.4.270.0130.00012.66
5.4.260.0060.00612.52
5.4.250.0030.01012.43
5.4.240.0030.00912.59
5.4.230.0100.00312.48
5.4.220.0040.00712.74
5.4.210.0080.00412.67
5.4.200.0060.00612.55
5.4.190.0000.01212.52
5.4.180.0030.01012.40
5.4.170.0030.01312.61
5.4.160.0040.01012.43
5.4.150.0030.00912.45
5.4.140.0030.00912.43
5.4.130.0000.01212.57
5.4.120.0060.00612.67
5.4.110.0060.00612.75
5.4.100.0090.00312.50
5.4.90.0000.01212.53
5.4.80.0100.00312.46
5.4.70.0040.00812.34
5.4.60.0030.00912.51
5.4.50.0060.00612.44
5.4.40.0000.01212.45
5.4.30.0080.00412.32
5.4.20.0030.01212.55
5.4.10.0060.00612.44
5.4.00.0080.00412.51
5.3.290.0110.00412.89
5.3.280.0100.00312.65
5.3.270.0130.00012.72
5.3.260.0060.00912.86
5.3.250.0060.00612.89
5.3.240.0090.00312.67
5.3.230.0060.00612.68
5.3.220.0080.00412.73
5.3.210.0060.00612.64
5.3.200.0070.00612.64
5.3.190.0030.01012.77
5.3.180.0090.00412.85
5.3.170.0040.01112.88
5.3.160.0030.01212.91
5.3.150.0060.00612.97
5.3.140.0030.01012.84
5.3.130.0090.00612.88
5.3.120.0060.00612.78
5.3.110.0060.00612.86
5.3.100.0030.01012.79
5.3.90.0070.00712.90
5.3.80.0060.00612.86
5.3.70.0060.00812.98
5.3.60.0100.00312.82
5.3.50.0030.00912.68
5.3.40.0040.00812.71
5.3.30.0080.00412.75
5.3.20.0000.01312.75
5.3.10.0030.01412.66
5.3.00.0050.00812.56
5.2.170.0030.00912.06
5.2.160.0030.00911.86
5.2.150.0030.00912.07
5.2.140.0120.00011.79
5.2.130.0030.00911.78
5.2.120.0000.01411.79
5.2.110.0090.00311.73
5.2.100.0120.00011.74
5.2.90.0040.00811.91
5.2.80.0060.00611.82
5.2.70.0030.00911.74
5.2.60.0060.00911.60
5.2.50.0110.00411.76
5.2.40.0060.00511.70
5.2.30.0050.00611.74
5.2.20.0030.00811.57
5.2.10.0060.01011.45
5.2.00.0040.01111.43
5.1.60.0060.00910.90
5.1.50.0000.01110.79
5.1.40.0070.00310.91
5.1.30.0000.01010.98
5.1.20.0050.01010.84
5.1.10.0070.00811.00
5.1.00.0060.00610.70
5.0.50.0050.00510.11
5.0.40.0000.0109.90
5.0.30.0060.0039.80
5.0.20.0000.0109.87
5.0.10.0000.0109.84
5.0.00.0060.0039.80
4.4.90.0060.0039.80
4.4.80.0000.0079.80
4.4.70.0000.0059.80
4.4.60.0000.0069.80
4.4.50.0040.0049.80
4.4.40.0030.0039.80
4.4.30.0050.0009.80
4.4.20.0030.0039.80
4.4.10.0050.0009.80
4.4.00.0030.0039.80
4.3.110.0030.0039.80
4.3.100.0000.0079.80
4.3.90.0000.0069.80
4.3.80.0000.0069.80
4.3.70.0030.0039.80
4.3.60.0050.0009.80
4.3.50.0000.0069.80
4.3.40.0000.0069.80
4.3.30.0050.0029.80
4.3.20.0000.0059.80
4.3.10.0050.0009.80
4.3.00.0000.0059.80

preferences:
12.73 ms | 406 KiB | 5 Q