3v4l.org

run code in 300+ PHP versions simultaneously
<?php class mYclass { public static $name = "Chandra"; public function my_fn() { echo self::$name; } } $class = new mYclass; $class->my_fn();

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.60.0130.00318.43
8.3.50.0090.00521.14
8.3.40.0000.01418.67
8.3.30.0130.00318.86
8.3.20.0070.00020.04
8.3.10.0070.00022.00
8.3.00.0050.00322.39
8.2.180.0110.01118.38
8.2.170.0070.00722.96
8.2.160.0040.01120.35
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0000.00819.66
8.2.110.0030.00622.18
8.2.100.0060.00617.78
8.2.90.0000.00817.83
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00418.05
8.2.50.0040.00418.07
8.2.40.0070.00018.16
8.2.30.0030.00517.92
8.2.20.0030.00617.69
8.2.10.0090.00017.54
8.2.00.0060.00317.68
8.1.280.0100.01025.92
8.1.270.0000.00920.40
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0090.00022.45
8.1.230.0060.00620.95
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0050.00317.29
8.1.180.0030.00620.28
8.1.170.0040.00418.55
8.1.160.0000.00822.00
8.1.150.0070.00418.48
8.1.140.0000.00717.29
8.1.130.0000.00717.73
8.1.120.0000.00717.22
8.1.110.0080.00017.37
8.1.100.0000.00717.46
8.1.90.0040.00417.36
8.1.80.0050.00217.43
8.1.70.0000.00717.39
8.1.60.0050.00317.54
8.1.50.0020.00517.40
8.1.40.0030.00617.48
8.1.30.0000.00717.62
8.1.20.0080.00017.62
8.1.10.0070.00017.54
8.1.00.0050.00217.49
8.0.300.0040.00419.95
8.0.290.0000.00717.30
8.0.280.0000.00718.44
8.0.270.0040.00417.20
8.0.260.0030.00316.68
8.0.250.0000.00716.99
8.0.240.0000.00816.89
8.0.230.0000.00716.84
8.0.220.0070.00016.81
8.0.210.0000.00716.80
8.0.200.0030.00316.89
8.0.190.0000.00716.83
8.0.180.0040.00416.88
8.0.170.0040.00416.84
8.0.160.0000.00816.71
8.0.150.0030.00316.63
8.0.140.0070.00316.75
8.0.130.0030.00313.26
8.0.120.0040.00416.77
8.0.110.0000.00716.73
8.0.100.0070.00016.93
8.0.90.0070.00016.88
8.0.80.0080.00816.77
8.0.70.0050.00316.68
8.0.60.0000.00716.85
8.0.50.0040.00416.70
8.0.30.0130.00617.08
8.0.20.0110.00917.40
8.0.10.0020.00516.80
8.0.00.0060.01216.87
7.4.330.0050.00015.03
7.4.320.0050.00316.51
7.4.300.0030.00316.59
7.4.290.0000.00816.59
7.4.280.0050.00316.59
7.4.270.0000.00716.48
7.4.260.0040.00416.37
7.4.250.0070.00016.44
7.4.240.0070.00016.52
7.4.230.0050.00316.38
7.4.220.0090.01516.45
7.4.210.0070.00716.55
7.4.200.0040.00416.29
7.4.190.0000.00716.67
7.4.160.0150.00016.67
7.4.150.0170.00017.40
7.4.140.0080.01117.86
7.4.130.0100.00716.46
7.4.120.0120.00516.49
7.4.110.0060.01216.46
7.4.100.0110.01416.40
7.4.90.0060.01216.39
7.4.80.0150.01319.39
7.4.70.0040.01416.39
7.4.60.0060.01016.32
7.4.50.0000.00416.51
7.4.40.0000.01222.77
7.4.30.0140.00616.52
7.4.00.0120.00615.13
7.3.330.0030.00313.29
7.3.320.0000.00513.24
7.3.310.0070.00016.33
7.3.300.0030.00316.30
7.3.290.0030.01016.31
7.3.280.0090.00516.24
7.3.270.0060.01217.40
7.3.260.0130.00316.25
7.3.250.0060.01116.32
7.3.240.0120.00616.46
7.3.230.0130.00316.50
7.3.210.0060.00916.43
7.3.200.0040.01219.39
7.3.190.0150.00416.43
7.3.180.0030.01316.40
7.3.170.0150.00616.57
7.3.160.0150.00616.25
7.3.120.0060.00914.92
7.3.10.0000.01516.60
7.3.00.0040.00716.55
7.2.330.0170.00016.44
7.2.320.0110.00816.74
7.2.310.0030.01216.40
7.2.300.0080.00816.70
7.2.290.0100.01316.81
7.2.130.0090.00616.75
7.2.120.0040.01216.96
7.2.110.0040.00716.54
7.2.100.0060.01216.68
7.2.90.0120.00316.65
7.2.80.0030.01016.84
7.2.70.0060.00616.84
7.2.60.0050.00516.64
7.2.50.0030.01216.79
7.2.40.0090.00616.89
7.2.30.0040.00916.78
7.2.20.0000.01216.87
7.2.10.0150.00016.91
7.2.00.0050.00718.12
7.1.250.0030.01015.43
7.1.240.0080.00615.47
7.1.230.0060.00615.43
7.1.220.0030.01315.47
7.1.210.0040.01115.47
7.1.200.0030.01015.69
7.1.190.0110.00315.41
7.1.180.0070.00715.20
7.1.170.0030.00915.53
7.1.160.0030.00715.48
7.1.150.0060.00915.47
7.1.140.0060.00615.33
7.1.130.0000.00915.74
7.1.120.0070.00715.56
7.1.110.0060.00615.50
7.1.100.0050.00716.68
7.1.90.0000.01215.18
7.1.80.0040.00415.73
7.1.70.0030.00816.29
7.1.60.0030.01517.50
7.1.50.0100.00816.14
7.1.40.0090.00315.33
7.1.30.0030.00915.43
7.1.20.0000.00815.58
7.1.10.0080.00415.76
7.1.00.0040.03618.95
7.0.330.0040.00815.05
7.0.320.0030.00915.17
7.0.310.0100.00615.26
7.0.300.0080.00415.22
7.0.290.0100.00315.26
7.0.280.0070.00715.15
7.0.270.0060.00815.11
7.0.260.0000.00915.21
7.0.250.0060.00915.15
7.0.240.0100.00315.29
7.0.230.0040.00415.04
7.0.220.0120.00015.01
7.0.210.0070.00715.33
7.0.200.0000.01215.80
7.0.190.0050.00315.05
7.0.180.0000.01315.16
7.0.170.0070.00715.07
7.0.160.0030.00915.37
7.0.150.0060.00315.13
7.0.140.0060.03718.48
7.0.130.0080.00615.39
7.0.120.0090.00615.16
7.0.110.0060.00315.09
7.0.100.0030.00915.32
7.0.90.0070.00715.11
7.0.80.0030.00915.16
7.0.70.0040.00815.23
7.0.60.0150.03317.57
7.0.50.0050.04216.51
7.0.40.0050.02216.69
7.0.30.0210.02516.68
7.0.20.0100.02516.63
7.0.10.0050.02816.74
7.0.00.0040.03716.65
5.6.380.0030.01014.21
5.6.370.0040.00814.29
5.6.360.0110.00414.28
5.6.350.0130.00014.18
5.6.340.0000.00914.16
5.6.330.0000.01514.07
5.6.320.0030.01013.85
5.6.310.0100.00614.45
5.6.300.0000.01214.26
5.6.290.0040.01114.35
5.6.280.0060.03717.38
5.6.270.0040.00414.08
5.6.260.0060.00914.18
5.6.250.0000.01313.89
5.6.240.0000.00814.05
5.6.230.0080.00314.26
5.6.220.0070.00714.27
5.6.210.0090.04117.43
5.6.200.0030.04816.04
5.6.190.0070.02917.39
5.6.180.0220.03917.29
5.6.170.0170.04517.34
5.6.160.0050.02717.35
5.6.150.0110.04116.23
5.6.140.0080.02216.14
5.6.130.0120.02416.26
5.6.120.0000.05317.62
5.6.110.0080.02317.51
5.6.100.0050.03517.47
5.6.90.0100.04317.56
5.6.80.0080.03517.26
5.6.70.0050.03417.33
5.6.60.0090.00614.14
5.6.50.0120.00314.30
5.6.40.0100.00314.08
5.6.30.0070.00714.29
5.6.20.0040.01114.17
5.6.10.0000.01114.09
5.6.00.0000.01414.25
5.5.380.0000.01211.08
5.5.370.0070.00311.34
5.5.360.0000.00611.34
5.5.350.0070.04215.61
5.5.340.0020.04514.41
5.5.330.0080.03715.71
5.5.320.0130.02215.64
5.5.310.0170.02415.49
5.5.300.0050.01814.38
5.5.290.0050.04114.45
5.5.280.0050.04015.97
5.5.270.0080.04416.05
5.5.260.0100.03515.97
5.5.250.0030.04515.87
5.5.240.0060.04115.67
5.5.230.0030.00610.78
5.5.220.0060.00010.73
5.5.210.0030.00910.84
5.5.200.0060.00610.85
5.5.190.0030.00310.70
5.5.180.0060.00310.87
5.5.170.0080.00410.86
5.5.160.0030.00910.94
5.5.150.0030.00311.13
5.5.140.0000.01210.75
5.5.130.0000.00910.79
5.5.120.0050.00510.77
5.5.110.0000.00811.07
5.5.100.0000.01111.02
5.5.90.0030.00610.61
5.5.80.0090.00011.06
5.5.70.0000.01011.16
5.5.60.0000.00610.95
5.5.50.0040.00710.61
5.5.40.0040.00811.06
5.5.30.0080.00411.12
5.5.20.0000.00611.07
5.5.10.0100.00011.07
5.5.00.0040.00410.84
5.4.450.0070.03315.27
5.4.440.0100.03315.05
5.4.430.0150.03915.25
5.4.420.0090.03015.07
5.4.410.0060.03314.90
5.4.400.0100.03214.83
5.4.390.0150.03514.83
5.4.380.0200.02714.76
5.4.370.0160.02014.68
5.4.360.0130.02714.73
5.4.350.0050.02211.35
5.4.340.0060.01911.38
5.4.330.0070.00310.82
5.4.320.0050.02111.61
5.4.310.0030.02611.72
5.4.300.0020.02311.61
5.4.290.0040.02311.58
5.4.280.0050.02311.63
5.4.270.0060.02711.58
5.4.260.0070.02011.72
5.4.250.0020.03114.80
5.4.240.0070.03014.77
5.4.230.0070.02914.78
5.4.220.0070.03014.89
5.4.210.0080.03514.85
5.4.200.0080.02614.88
5.4.190.0090.02614.83
5.4.180.0070.02514.77
5.4.170.0090.02714.67
5.4.160.0090.02314.74
5.4.150.0070.02914.78
5.4.140.0020.03013.51
5.4.130.0050.02713.64
5.4.120.0070.03713.72
5.4.110.0040.02913.60
5.4.100.0020.03013.75
5.4.90.0040.03013.63
5.4.80.0030.02613.70
5.4.70.0050.02913.74
5.4.60.0060.02613.63
5.4.50.0090.02513.63
5.4.40.0050.03713.56
5.4.30.0060.03613.67
5.4.20.0100.02213.64
5.4.10.0050.02813.54
5.4.00.0050.02713.37
5.3.290.0080.02111.68
5.3.280.0090.03412.47
5.3.270.0020.04012.58
5.3.260.0050.03012.42
5.3.250.0000.03212.46
5.3.240.0060.02612.40
5.3.230.0020.02912.57
5.3.220.0020.03112.36
5.3.210.0060.03012.53
5.3.200.0020.03712.45
5.3.190.0150.02012.52
5.3.180.0090.02512.56
5.3.170.0020.03212.57
5.3.160.0080.02512.66
5.3.150.0020.03212.57
5.3.140.0070.02512.53
5.3.130.0070.04012.50
5.3.120.0050.03012.50
5.3.110.0100.02812.46
5.3.100.0070.02712.21
5.3.90.0050.02812.26
5.3.80.0070.02512.24
5.3.70.0030.02812.10
5.3.60.0050.03512.17
5.3.50.0020.02812.12
5.3.40.0070.02312.17
5.3.30.0050.02512.13
5.3.20.0070.02512.13
5.3.10.0110.02311.78
5.3.00.0100.02311.95
5.2.170.0000.02510.25
5.2.160.0030.02110.38
5.2.150.0050.02210.34
5.2.140.0090.01910.26
5.2.130.0080.01710.21
5.2.120.0050.02110.27
5.2.110.0030.02310.15
5.2.100.0030.02810.38
5.2.90.0080.02310.20
5.2.80.0080.02210.23
5.2.70.0010.02510.05
5.2.60.0050.03310.03
5.2.50.0040.02310.13
5.2.40.0030.02410.05
5.2.30.0020.02810.03
5.2.20.0050.02110.15
5.2.10.0030.02810.00
5.2.00.0050.0229.76
5.1.60.0030.0209.21
5.1.50.0030.0229.22
5.1.40.0010.0289.21
5.1.30.0050.0189.49
5.1.20.0030.0279.51
5.1.10.0090.0179.29
5.1.00.0010.0239.26
5.0.50.0020.0158.54
5.0.40.0030.0188.51
5.0.30.0030.0228.37
5.0.20.0000.0198.24
5.0.10.0040.0168.29
5.0.00.0040.0208.33
4.4.90.0000.0157.90
4.4.80.0000.0187.90
4.4.70.0070.0137.90
4.4.60.0030.0167.90
4.4.50.0020.0187.90
4.4.40.0050.0257.90
4.4.30.0050.0107.90
4.4.20.0010.0157.90
4.4.10.0000.0147.90
4.4.00.0040.0167.90
4.3.110.0030.0127.90
4.3.100.0030.0117.90
4.3.90.0000.0157.90
4.3.80.0020.0197.90
4.3.70.0050.0107.90
4.3.60.0050.0087.90
4.3.50.0060.0127.90
4.3.40.0030.0237.90
4.3.30.0020.0147.90
4.3.20.0030.0117.90
4.3.10.0020.0137.90
4.3.00.0050.0127.63

preferences:
68.16 ms | 401 KiB | 5 Q