3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $val = 'Foo'; public static function huh() { echo eval(get_called_class().'::$val'); } } class Bar extends Foo { public static $val = 'bar'; } Foo::huh(); Bar::huh();

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.40.0100.00318.76
8.3.30.0090.00618.67
8.3.20.0000.00818.79
8.3.10.0060.00319.39
8.3.00.0040.00421.64
8.2.170.0090.01222.96
8.2.160.0100.00720.53
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0030.00726.16
8.2.120.0080.00021.06
8.2.110.0000.00920.34
8.2.100.0110.00017.84
8.2.90.0060.00319.25
8.2.80.0080.00018.05
8.2.70.0090.00017.63
8.2.60.0000.00918.04
8.2.50.0000.00818.07
8.2.40.0040.00418.03
8.2.30.0080.00019.73
8.2.20.0000.00717.63
8.2.10.0020.00517.65
8.2.00.0000.00717.73
8.1.270.0020.00523.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.46
8.1.230.0080.00320.96
8.1.220.0040.00418.77
8.1.210.0030.00618.97
8.1.200.0030.00617.35
8.1.190.0030.00617.38
8.1.180.0000.01218.10
8.1.170.0040.00418.59
8.1.160.0040.00418.70
8.1.150.0050.00218.51
8.1.140.0040.00417.23
8.1.130.0000.00817.29
8.1.120.0000.00717.36
8.1.110.0050.00317.39
8.1.100.0040.00417.37
8.1.90.0070.00017.36
8.1.80.0040.00417.41
8.1.70.0050.00317.34
8.1.60.0070.00017.41
8.1.50.0080.00017.33
8.1.40.0040.00417.44
8.1.30.0000.00717.47
8.1.20.0040.00417.61
8.1.10.0040.00417.41
8.1.00.0000.00817.44
8.0.300.0040.00419.98
8.0.290.0000.00717.05
8.0.280.0040.00418.48
8.0.270.0000.00717.24
8.0.260.0070.00016.88
8.0.250.0070.00016.93
8.0.240.0070.00316.93
8.0.230.0070.00017.02
8.0.220.0030.00316.99
8.0.210.0050.00516.99
8.0.200.0000.00616.90
8.0.190.0080.00016.90
8.0.180.0000.00716.95
8.0.170.0040.00416.99
8.0.160.0040.00416.92
8.0.150.0020.00516.91
8.0.140.0080.00016.78
8.0.130.0000.00613.38
8.0.120.0060.00316.93
8.0.110.0080.00017.06
8.0.100.0040.00416.82
8.0.90.0050.00216.75
8.0.80.0070.00716.93
8.0.70.0080.00016.80
8.0.60.0020.00516.96
8.0.50.0030.00616.75
8.0.30.0110.00717.12
8.0.20.0110.00917.40
8.0.10.0000.00717.12
8.0.00.0040.01516.60
7.4.330.0050.00014.72
7.4.320.0060.00016.59
7.4.300.0070.00016.59
7.4.290.0000.00716.59
7.4.280.0060.00016.38
7.4.270.0070.00016.45
7.4.260.0030.00313.27
7.4.250.0040.00416.55
7.4.240.0000.00816.65
7.4.230.0070.00016.61
7.4.220.0170.00916.53
7.4.210.0060.01016.55
7.4.200.0030.00516.38
7.4.190.0070.00016.45
7.4.160.0130.01016.43
7.4.150.0030.01317.40
7.4.140.0110.00817.86
7.4.130.0090.00916.52
7.4.120.0100.00716.46
7.4.110.0130.00716.57
7.4.100.0130.01016.35
7.4.90.0090.00916.66
7.4.80.0030.01319.37
7.4.70.0110.00616.61
7.4.60.0120.00616.48
7.4.50.0060.00316.17
7.4.40.0140.00322.52
7.4.30.0140.00316.30
7.4.00.0030.01414.94
7.3.330.0000.00513.26
7.3.320.0040.00413.22
7.3.310.0000.00716.38
7.3.300.0000.00716.40
7.3.290.0060.01016.33
7.3.280.0120.00516.31
7.3.270.0110.01017.40
7.3.260.0100.01118.24
7.3.250.0100.00816.39
7.3.240.0130.00316.57
7.3.230.0110.00616.39
7.3.210.0100.00616.34
7.3.200.0150.00319.39
7.3.190.0070.01116.41
7.3.180.0140.00716.61
7.3.170.0130.00316.41
7.3.160.0090.00616.45
7.3.120.0060.01115.16
7.3.110.0070.01015.28
7.3.100.0110.00415.28
7.3.90.0060.00615.28
7.3.80.0040.01215.28
7.3.70.0000.00915.28
7.3.60.0060.01015.28
7.3.50.0030.01315.28
7.3.40.0060.00915.28
7.3.30.0040.00415.28
7.3.20.0100.00016.69
7.3.10.0070.00716.62
7.3.00.0060.00916.61
7.2.330.0030.01316.37
7.2.320.0130.00316.29
7.2.310.0090.01216.61
7.2.300.0120.00416.41
7.2.290.0000.01516.65
7.2.250.0090.00915.28
7.2.240.0070.01015.28
7.2.230.0090.00615.28
7.2.220.0070.00715.28
7.2.210.0030.01015.28
7.2.200.0060.00915.28
7.2.190.0110.00815.28
7.2.180.0000.01915.28
7.2.170.0070.00715.28
7.2.130.0040.00816.83
7.2.120.0080.00716.81
7.2.110.0060.00516.79
7.2.100.0080.00516.82
7.2.90.0000.01316.63
7.2.80.0030.00916.70
7.2.70.0090.00616.93
7.2.60.0130.00716.72
7.2.50.0050.00916.72
7.2.40.0110.00416.82
7.2.30.0070.00916.66
7.2.20.0020.01116.59
7.2.10.0040.00616.87
7.2.00.0040.01017.67
7.1.330.0030.01015.62
7.1.320.0030.01015.91
7.1.310.0090.00615.62
7.1.300.0060.00915.76
7.1.290.0090.00915.68
7.1.280.0030.00715.57
7.1.270.0060.01015.58
7.1.260.0000.01515.74
7.1.250.0050.00815.78
7.1.240.0040.01115.45
7.1.230.0070.00715.77
7.1.220.0000.00915.72
7.1.210.0130.00315.51
7.1.200.0040.00715.70
7.1.190.0110.00315.38
7.1.180.0100.00315.89
7.1.170.0030.00615.86
7.1.160.0040.01115.78
7.1.150.0130.00015.75
7.1.140.0000.01215.52
7.1.130.0030.01415.82
7.1.120.0080.00415.50
7.1.110.0030.00915.54
7.1.100.0020.01016.92
7.1.90.0060.00615.63
7.1.80.0120.00315.57
7.1.70.0070.00416.36
7.1.60.0050.01317.39
7.1.50.0080.01216.28
7.1.40.0050.00515.54
7.1.30.0040.00715.64
7.1.20.0050.00515.73
7.1.10.0100.00615.61
7.1.00.0050.02819.00
7.0.330.0070.00715.45
7.0.320.0070.00715.34
7.0.310.0090.00615.06
7.0.300.0040.01115.36
7.0.290.0030.01015.35
7.0.280.0090.00315.16
7.0.270.0030.01415.37
7.0.260.0040.00715.38
7.0.250.0000.01315.38
7.0.240.0030.01015.51
7.0.230.0040.00815.28
7.0.220.0080.00315.42
7.0.210.0030.01215.45
7.0.200.0030.00716.04
7.0.190.0000.01415.36
7.0.180.0000.01015.41
7.0.170.0030.00915.45
7.0.160.0000.01015.39
7.0.150.0050.00815.50
7.0.140.0040.03718.69
7.0.130.0030.00515.44
7.0.120.0060.00615.46
7.0.110.0060.00815.37
7.0.100.0070.00715.44
7.0.90.0000.01315.10
7.0.80.0070.00715.61
7.0.70.0020.02818.38
7.0.60.0050.02018.51
7.0.50.0030.02018.78
7.0.40.0040.02116.64
7.0.30.0000.02416.80
7.0.20.0100.01816.70
7.0.10.0030.01816.63
7.0.00.0040.02416.61
5.6.380.0040.01214.27
5.6.370.0000.00814.26
5.6.360.0070.00714.40
5.6.350.0030.00814.50
5.6.340.0040.00814.45
5.6.330.0090.00614.45
5.6.320.0040.01114.31
5.6.310.0030.01014.31
5.6.300.0030.01414.49
5.6.290.0000.01314.21
5.6.280.0030.04217.57
5.6.270.0070.00714.25
5.6.260.0080.00614.32
5.6.250.0040.01114.26
5.6.240.0120.00314.17
5.6.230.0070.00714.07
5.6.220.0090.01817.39
5.6.210.0020.02217.34
5.6.200.0050.02217.54
5.6.190.0020.02217.70
5.6.180.0030.01817.64
5.6.170.0020.02517.64
5.6.160.0020.02717.62
5.6.150.0070.02217.55
5.6.140.0080.02717.60
5.6.130.0040.02817.62
5.6.120.0030.03017.56
5.6.110.0050.03017.67
5.6.100.0050.03917.53
5.6.90.0030.04417.49
5.6.80.0030.04517.26
5.6.70.0070.04217.35
5.6.60.0080.03617.30
5.6.50.0030.03217.42
5.6.40.0070.02717.19
5.6.30.0030.04717.20
5.6.20.0080.02217.22
5.6.10.0020.04217.32
5.6.00.0040.03317.24
5.5.380.0000.00710.90
5.5.370.0000.00710.90
5.5.360.0030.02815.94
5.5.350.0030.02115.79
5.5.340.0050.01815.90
5.5.330.0020.02015.91
5.5.320.0000.02115.92
5.5.310.0000.02216.09
5.5.300.0030.02015.94
5.5.290.0040.03215.89
5.5.280.0020.03316.02
5.5.270.0080.04015.91
5.5.260.0050.04315.99
5.5.250.0040.04615.73
5.5.240.0110.03715.60
5.5.230.0030.04315.50
5.5.220.0020.03115.52
5.5.210.0030.03215.54
5.5.200.0000.04815.61
5.5.190.0070.03515.69
5.5.180.0050.04015.66
5.5.170.0000.01010.90
5.5.160.0080.03415.63
5.5.150.0000.03915.73
5.5.140.0070.02815.71
5.5.130.0050.04315.63
5.5.120.0090.03815.60
5.5.110.0100.03515.63
5.5.100.0020.04515.58
5.5.90.0030.04015.51
5.5.80.0000.02715.48
5.5.70.0130.03215.53
5.5.60.0030.03115.55
5.5.50.0020.03515.46
5.5.40.0080.03815.46
5.5.30.0070.04015.56
5.5.20.0020.04515.47
5.5.10.0050.02715.51
5.5.00.0050.04515.50
5.4.450.0050.03615.29
5.4.440.0080.03815.17
5.4.430.0050.04015.17
5.4.420.0080.03715.04
5.4.410.0050.03015.07
5.4.400.0050.03815.01
5.4.390.0010.03315.06
5.4.380.0030.04115.06
5.4.370.0060.03414.89
5.4.360.0080.03515.04
5.4.350.0020.04014.97
5.4.340.0040.02514.92
5.4.330.0040.00410.94
5.4.320.0000.04415.06
5.4.310.0050.04214.96
5.4.300.0030.03715.04
5.4.290.0070.03514.99
5.4.280.0050.03015.01
5.4.270.0050.03514.99
5.4.260.0020.04415.13
5.4.250.0000.03015.03
5.4.240.0050.04014.91
5.4.230.0050.02815.12
5.4.220.0050.04115.03
5.4.210.0040.03315.09
5.4.200.0090.02815.16
5.4.190.0050.03115.05
5.4.180.0020.04515.01
5.4.170.0070.03514.89
5.4.160.0060.04114.98
5.4.150.0030.03715.03
5.4.140.0040.04013.71
5.4.130.0000.03913.61
5.4.120.0080.03513.88
5.4.110.0030.03013.79
5.4.100.0020.03213.63
5.4.90.0020.04013.88
5.4.80.0030.03913.71
5.4.70.0000.03813.73
5.4.60.0030.03713.75
5.4.50.0040.04013.68
5.4.40.0030.03513.65
5.4.30.0070.03713.74
5.4.20.0080.02613.75
5.4.10.0020.02813.72
5.4.00.0050.03613.34
5.3.290.0060.03012.84
5.3.280.0030.03812.84
5.3.270.0030.04012.84
5.3.260.0030.04312.84
5.3.250.0030.03812.84
5.3.240.0060.03012.84
5.3.230.0020.03912.84
5.3.220.0080.03512.84
5.3.210.0050.03812.84
5.3.200.0070.03712.84
5.3.190.0020.03112.84
5.3.180.0030.03712.84
5.3.170.0030.04612.84
5.3.160.0070.03712.84
5.3.150.0060.03712.84
5.3.140.0030.04312.84
5.3.130.0040.03512.84
5.3.120.0040.04112.84
5.3.110.0010.03812.84
5.3.100.0050.03012.84
5.3.90.0020.04212.84
5.3.80.0040.04112.84
5.3.70.0060.03712.84
5.3.60.0080.02812.84
5.3.50.0020.04012.84
5.3.40.0050.03012.84
5.3.30.0030.02112.84
5.3.20.0080.03812.84
5.3.10.0050.03112.84
5.3.00.0020.03812.84
5.2.170.0100.03012.84
5.2.160.0020.02612.84
5.2.150.0100.03012.84
5.2.140.0050.01812.84
5.2.130.0060.02812.84
5.2.120.0030.03112.84
5.2.110.0030.02612.84
5.2.100.0030.03012.84
5.2.90.0030.03212.84
5.2.80.0050.02312.84
5.2.70.0000.03612.84
5.2.60.0020.02912.84
5.2.50.0020.03012.84
5.2.40.0030.02212.84
5.2.30.0050.03012.84
5.2.20.0030.03312.84
5.2.10.0040.03012.84
5.2.00.0070.03112.84
5.1.60.0030.02512.84
5.1.50.0080.02312.84
5.1.40.0080.01812.84
5.1.30.0030.01912.84
5.1.20.0060.02212.84
5.1.10.0050.02612.84
5.1.00.0030.02912.84
5.0.50.0020.02412.84
5.0.40.0020.02012.84
5.0.30.0030.03012.84
5.0.20.0000.02612.84
5.0.10.0040.02212.84
5.0.00.0030.03312.84
4.4.90.0020.01912.84
4.4.80.0000.01212.84
4.4.70.0070.01312.84
4.4.60.0020.01512.84
4.4.50.0010.01912.84
4.4.40.0010.02812.84
4.4.30.0030.01812.84
4.4.20.0010.02012.84
4.4.10.0030.01612.84
4.4.00.0040.02312.84
4.3.110.0030.01812.84
4.3.100.0030.01312.84
4.3.90.0040.01912.84
4.3.80.0040.02512.84
4.3.70.0000.02012.84
4.3.60.0020.01812.84
4.3.50.0070.01512.84
4.3.40.0000.02312.84
4.3.30.0020.02012.84
4.3.20.0020.02012.84
4.3.10.0020.02112.84
4.3.00.0020.01812.84

preferences:
44.22 ms | 400 KiB | 5 Q