3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function start() { self::bar(); static::bar(); Foo::bar(); } public function __call($n, $a) { echo 'instance'; } public static function __callStatic($n, $a) { echo 'static'; } } $foo = new Foo(); $foo->start();

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.0110.00718.77
8.3.30.0100.00719.10
8.3.20.0080.00020.34
8.3.10.0040.00423.71
8.3.00.0040.00420.88
8.2.170.0120.00922.96
8.2.160.0070.00720.58
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0080.00020.89
8.2.110.0070.00322.30
8.2.100.0000.01120.38
8.2.90.0060.00319.21
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0000.00817.93
8.2.50.0030.00618.07
8.2.40.0050.00319.83
8.2.30.0040.00418.30
8.2.20.0000.00817.65
8.2.10.0040.00418.05
8.2.00.0000.00717.52
8.1.270.0030.00622.09
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0030.00622.20
8.1.230.0040.00719.09
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0000.00717.23
8.1.180.0000.00818.10
8.1.170.0050.00318.44
8.1.160.0050.00321.92
8.1.150.0000.00718.45
8.1.140.0000.00717.27
8.1.130.0000.00717.70
8.1.120.0030.00317.30
8.1.110.0040.00417.43
8.1.100.0070.00017.38
8.1.90.0040.00417.33
8.1.80.0030.00517.30
8.1.70.0030.00317.27
8.1.60.0090.00017.61
8.1.50.0040.00417.40
8.1.40.0040.00417.57
8.1.30.0060.00317.64
8.1.20.0000.00717.48
8.1.10.0040.00417.49
8.1.00.0040.00417.55
8.0.300.0040.00418.77
8.0.290.0000.00816.59
8.0.280.0070.00018.41
8.0.270.0030.00517.32
8.0.260.0000.00717.25
8.0.250.0030.00316.95
8.0.240.0000.00716.75
8.0.230.0070.00016.85
8.0.220.0030.00316.71
8.0.210.0070.00016.75
8.0.200.0000.00716.89
8.0.190.0020.00516.91
8.0.180.0080.00016.75
8.0.170.0040.00416.74
8.0.160.0000.00716.77
8.0.150.0070.00016.68
8.0.140.0050.00216.85
8.0.130.0000.00613.25
8.0.120.0060.00316.75
8.0.110.0050.00216.83
8.0.100.0000.00716.67
8.0.90.0040.00416.89
8.0.80.0110.01016.86
8.0.70.0040.00416.66
8.0.60.0050.00216.89
8.0.50.0070.00016.62
8.0.30.0140.01017.12
8.0.20.0130.00517.40
8.0.10.0040.00416.74
8.0.00.0120.01016.76
7.4.330.0000.00515.00
7.4.320.0030.00316.50
7.4.300.0030.00316.53
7.4.290.0030.00316.55
7.4.280.0000.00716.49
7.4.270.0040.00416.61
7.4.260.0000.00716.50
7.4.250.0000.00816.57
7.4.240.0050.00316.59
7.4.230.0070.00016.32
7.4.220.0060.01316.50
7.4.210.0090.00616.64
7.4.200.0040.00416.59
7.4.190.0030.00316.65
7.4.160.0070.01716.66
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0110.00616.54
7.4.120.0100.00716.54
7.4.110.0000.01816.39
7.4.100.0120.00616.50
7.4.90.0080.00816.41
7.4.80.0130.00819.39
7.4.70.0090.00916.59
7.4.60.0070.01016.65
7.4.50.0020.00216.30
7.4.40.0080.00816.18
7.4.30.0080.00916.50
7.4.00.0060.00914.93
7.3.330.0000.00612.97
7.3.320.0050.00013.04
7.3.310.0040.00416.05
7.3.300.0060.00016.25
7.3.290.0100.00316.18
7.3.280.0080.00716.23
7.3.270.0070.01017.40
7.3.260.0140.01016.30
7.3.250.0090.00716.29
7.3.240.0130.00316.27
7.3.230.0160.00316.39
7.3.210.0170.00016.20
7.3.200.0080.00819.39
7.3.190.0120.00316.30
7.3.180.0030.01216.25
7.3.170.0060.00916.38
7.3.160.0120.00616.46
7.3.120.0100.00714.51
7.3.110.0000.01414.98
7.3.100.0110.00714.76
7.3.90.0060.00614.77
7.3.80.0050.00514.78
7.3.70.0070.00714.69
7.3.60.0000.00814.55
7.3.50.0040.01114.57
7.3.40.0040.01214.71
7.3.30.0030.01014.68
7.3.20.0040.01116.57
7.3.10.0030.01016.53
7.3.00.0120.00416.56
7.2.330.0090.00916.80
7.2.320.0140.00716.24
7.2.310.0090.01216.66
7.2.300.0120.01216.39
7.2.290.0030.01316.77
7.2.250.0000.01714.64
7.2.240.0100.01015.05
7.2.230.0070.00714.79
7.2.220.0030.01414.77
7.2.210.0060.00915.21
7.2.200.0070.00714.95
7.2.190.0000.01615.02
7.2.180.0000.00814.98
7.2.170.0000.00914.98
7.2.160.0070.01014.84
7.2.150.0100.00316.60
7.2.140.0000.00916.60
7.2.130.0000.01216.76
7.2.120.0000.01416.85
7.2.110.0040.01216.66
7.2.100.0100.00316.84
7.2.90.0100.00017.05
7.2.80.0030.00616.85
7.2.70.0060.01317.02
7.2.60.0160.00316.70
7.2.50.0000.01316.79
7.2.40.0030.01416.76
7.2.30.0080.00816.79
7.2.20.0000.01416.60
7.2.10.0120.00317.03
7.2.00.0080.00517.90
7.1.330.0100.00715.85
7.1.320.0030.01015.88
7.1.310.0040.00415.64
7.1.300.0030.01015.57
7.1.290.0030.00515.54
7.1.280.0100.00315.70
7.1.270.0080.00015.34
7.1.260.0070.00715.69
7.1.250.0040.01215.72
7.1.240.0040.00415.13
7.1.230.0040.00715.57
7.1.220.0030.00915.65
7.1.210.0070.00315.66
7.1.200.0040.00415.64
7.1.190.0070.01015.60
7.1.180.0100.00715.59
7.1.170.0070.00315.33
7.1.160.0030.00615.56
7.1.150.0070.00715.64
7.1.140.0100.00015.75
7.1.130.0030.01415.61
7.1.120.0040.00815.79
7.1.110.0100.00315.53
7.1.100.0060.00616.86
7.1.90.0040.01115.73
7.1.80.0030.00615.66
7.1.70.0070.00416.30
7.1.60.0030.01517.66
7.1.50.0070.01216.16
7.1.40.0000.00815.57
7.1.30.0030.01015.58
7.1.20.0060.00915.64
7.1.10.0090.00015.35
7.1.00.0020.04318.96
7.0.330.0030.00915.39
7.0.320.0040.00415.34
7.0.310.0040.00715.34
7.0.300.0030.00615.27
7.0.290.0030.00915.42
7.0.280.0000.01315.14
7.0.270.0080.00415.25
7.0.260.0100.00315.26
7.0.250.0000.01115.40
7.0.240.0070.00715.49
7.0.230.0030.00715.48
7.0.220.0050.00315.25
7.0.210.0110.00315.11
7.0.200.0040.00416.07
7.0.190.0040.00415.12
7.0.180.0060.01014.96
7.0.170.0060.00615.30
7.0.160.0000.00815.17
7.0.150.0000.01315.22
7.0.140.0020.04518.53
7.0.130.0070.00715.52
7.0.120.0060.00615.25
7.0.110.0070.00715.39
7.0.100.0090.00315.38
7.0.90.0070.00415.07
7.0.80.0080.00615.54
7.0.70.0000.01715.51
7.0.60.0070.04017.74
7.0.50.0100.03516.64
7.0.40.0070.02716.79
7.0.30.0220.03416.88
7.0.20.0220.04216.65
7.0.10.0040.02716.76
7.0.00.0060.04116.82
5.6.400.0080.00514.30
5.6.390.0030.00614.27
5.6.380.0090.00614.28
5.6.370.0030.01214.46
5.6.360.0080.00314.53
5.6.350.0000.01414.27
5.6.340.0030.01014.11
5.6.330.0060.00614.23
5.6.320.0060.01014.49
5.6.310.0000.01114.09
5.6.300.0070.00713.94
5.6.290.0080.00814.27
5.6.280.0070.03917.52
5.6.270.0080.00314.25
5.6.260.0060.00914.25
5.6.250.0080.00514.31
5.6.240.0140.00014.53
5.6.230.0040.00814.26
5.6.220.0060.00614.25
5.6.210.0080.04617.49
5.6.200.0020.04116.28
5.6.190.0100.04017.46
5.6.180.0150.02617.27
5.6.170.0180.04517.46
5.6.160.0030.04617.25
5.6.150.0120.03716.29
5.6.140.0080.03316.28
5.6.130.0080.04316.10
5.6.120.0080.02517.64
5.6.110.0070.04517.67
5.6.100.0050.03617.68
5.6.90.0120.01817.41
5.6.80.0100.04017.28
5.6.70.0030.00614.25
5.6.60.0060.00814.24
5.6.50.0060.00614.29
5.6.40.0040.00714.34
5.6.30.0120.00614.43
5.6.20.0000.00914.12
5.6.10.0070.00714.13
5.6.00.0000.01014.51
5.5.380.0060.00614.17
5.5.370.0000.01214.20
5.5.360.0000.01614.32
5.5.350.2150.02517.34
5.5.340.0020.02516.08
5.5.330.0100.03017.19
5.5.320.0120.02517.18
5.5.310.0270.03817.10
5.5.300.0060.03516.09
5.5.290.0070.03015.95
5.5.280.0070.02317.48
5.5.270.0070.04417.65
5.5.260.0120.03817.40
5.5.250.0120.03817.35
5.5.240.0040.04417.11
5.5.230.0030.01014.36
5.5.220.0040.00813.95
5.5.210.0000.01014.25
5.5.200.0000.00814.16
5.5.190.0000.01114.16
5.5.180.0060.00614.23
5.5.170.0060.00314.07
5.5.160.0030.00714.05
5.5.150.0070.01014.35
5.5.140.0090.00314.28
5.5.130.0060.00614.36
5.5.120.0030.00914.25
5.5.110.0040.00414.40
5.5.100.0030.00614.39
5.5.90.0070.00714.31
5.5.80.0000.00913.76
5.5.70.0050.00514.28
5.5.60.0070.00713.93
5.5.50.0030.01014.25
5.5.40.0100.00314.04
5.5.30.0030.01214.35
5.5.20.0040.00413.79
5.5.10.0040.00914.22
5.5.00.0060.00614.04
5.4.450.0470.02215.37
5.4.440.0120.02715.30
5.4.430.0130.02815.38
5.4.420.0170.02415.38
5.4.410.0500.01815.27
5.4.400.0200.01515.21
5.4.390.0200.02215.15
5.4.380.0520.02914.95
5.4.370.0470.03314.91
5.4.360.0430.03514.93
5.4.350.0480.03315.00
5.4.340.0420.03514.95
5.4.330.0060.00611.21
5.4.320.0060.02211.86
5.4.310.0040.02811.85
5.4.300.0140.03611.86
5.4.290.0050.02311.86
5.4.280.0060.03811.81
5.4.270.0040.02711.80
5.4.260.0050.02211.80
5.4.250.0040.02411.80
5.4.240.0090.03011.81
5.4.230.0080.02311.80
5.4.220.0110.02511.80
5.4.210.0070.02311.80
5.4.200.0030.02211.80
5.4.190.0060.02111.80
5.4.180.0070.02111.80
5.4.170.0040.02411.80
5.4.160.0050.02311.80
5.4.150.0040.02411.80
5.4.140.0090.01911.64
5.4.130.0040.02311.64
5.4.120.0050.02111.62
5.4.110.0060.02411.62
5.4.100.0060.02611.63
5.4.90.0030.03111.61
5.4.80.0080.02911.61
5.4.70.0040.03111.61
5.4.60.0070.02711.61
5.4.50.0050.03011.61
5.4.40.0040.02811.61
5.4.30.0060.02411.61
5.4.20.0070.02711.61
5.4.10.0040.03011.60
5.4.00.0040.02411.35
5.3.290.0060.02612.01
5.3.280.0040.02411.96
5.3.270.0110.02211.97
5.3.260.0070.02411.96
5.3.250.0050.02911.97
5.3.240.0060.03111.96
5.3.230.0060.02811.96
5.3.220.0090.02811.94
5.3.210.0040.02811.95
5.3.200.0060.02111.95
5.3.190.0070.02011.95
5.3.180.0090.01711.94
5.3.170.0080.02011.94
5.3.160.0050.02311.94
5.3.150.0030.02311.94
5.3.140.0040.02211.94
5.3.130.0080.02311.93
5.3.120.0060.02411.93
5.3.110.0070.02311.93
5.3.100.0070.02911.67
5.3.90.0070.02811.66
5.3.80.0050.02911.65
5.3.70.0120.04211.65
5.3.60.0020.03211.65
5.3.50.0050.02611.62
5.3.40.0060.02811.62
5.3.30.0050.02911.60
5.3.20.0040.02211.49
5.3.10.0050.02011.47
5.3.00.0030.02311.47
5.2.170.0070.0309.22
5.2.160.0050.0309.22
5.2.150.0090.0289.21
5.2.140.0050.0329.21
5.2.130.0020.0349.18
5.2.120.0070.0299.18
5.2.110.0050.0359.18
5.2.100.0040.0299.18
5.2.90.0040.0299.18
5.2.80.0060.0329.17
5.2.70.0060.0329.17
5.2.60.0090.0369.13
5.2.50.0060.0329.10
5.2.40.0100.0549.07
5.2.30.0050.0459.05
5.2.20.0050.0329.04
5.2.10.0050.0288.94
5.2.00.0030.0308.80
5.1.60.0040.0248.10
5.1.50.0040.0258.09
5.1.40.0030.0298.07
5.1.30.0060.0288.42
5.1.20.0080.0268.44
5.1.10.0080.0328.17
5.1.00.0030.0358.17
5.0.50.0080.0186.64
5.0.40.0070.0196.50
5.0.30.0070.0346.31
5.0.20.0070.0386.28
5.0.10.0100.0326.26
5.0.00.0060.0386.25
4.4.90.0060.0364.78
4.4.80.0020.0284.76
4.4.70.0040.0304.75
4.4.60.0030.0184.75
4.4.50.0040.0204.77
4.4.40.0030.0284.71
4.4.30.0040.0174.76
4.4.20.0030.0184.84
4.4.10.0050.0184.84
4.4.00.0070.0424.76
4.3.110.0030.0254.67
4.3.100.0040.0224.67
4.3.90.0050.0214.64
4.3.80.0060.0374.59
4.3.70.0040.0234.63
4.3.60.0030.0244.63
4.3.50.0070.0194.63
4.3.40.0040.0334.53
4.3.30.0020.0213.30
4.3.20.0030.0203.28
4.3.10.0040.0173.24
4.3.00.0000.01716.92

preferences:
31.73 ms | 400 KiB | 5 Q