3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo number_format(round(43.2550, 2), strlen(substr(strrchr(3.2550, "."), 1)), ',', '.'); echo strlen(substr(strrchr(3.2550, "."), 1)); echo PHP_EOL; //echo number_format(round(553.4000, 2), strlen(substr(strrchr(3.4000, "."), 1)), ',', '.'); echo strlen(substr(strrchr(3.4000, "."), 1));

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.0070.01416.50
8.3.50.0150.00321.99
8.3.40.0090.00918.53
8.3.30.0100.00418.79
8.3.20.0040.00420.46
8.3.10.0030.00623.65
8.3.00.0030.00620.84
8.2.180.0080.00816.50
8.2.170.0110.00422.96
8.2.160.0130.00020.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.36
8.2.110.0090.00022.00
8.2.100.0090.00318.03
8.2.90.0050.00519.09
8.2.80.0080.00017.97
8.2.70.0050.00317.47
8.2.60.0070.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00818.03
8.2.30.0050.00218.06
8.2.20.0000.00717.65
8.2.10.0000.00718.00
8.2.00.0000.00919.37
8.1.280.0170.00325.92
8.1.270.0090.00023.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.14
8.1.230.0040.00819.23
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0060.00318.10
8.1.170.0050.00318.65
8.1.160.0040.00421.91
8.1.150.0040.00418.56
8.1.140.0040.00417.33
8.1.130.0070.00017.82
8.1.120.0030.00717.39
8.1.110.0000.00817.38
8.1.100.0040.00417.37
8.1.90.0030.00317.29
8.1.80.0000.00817.35
8.1.70.0000.00717.27
8.1.60.0000.00817.41
8.1.50.0070.00017.35
8.1.40.0040.00417.35
8.1.30.0060.00317.48
8.1.20.0040.00417.43
8.1.10.0040.00417.39
8.1.00.0000.00817.43
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00318.38
8.0.270.0000.00717.20
8.0.260.0070.00017.26
8.0.250.0000.00616.81
8.0.240.0050.00516.92
8.0.230.0030.00316.82
8.0.220.0060.00016.79
8.0.210.0030.00316.70
8.0.200.0060.00016.73
8.0.190.0050.00316.73
8.0.180.0060.00316.69
8.0.170.0040.00416.74
8.0.160.0000.00716.80
8.0.150.0040.00416.78
8.0.140.0000.00716.63
8.0.130.0060.00013.21
8.0.120.0050.00316.79
8.0.110.0040.00416.62
8.0.100.0050.00216.79
8.0.90.0080.00016.64
8.0.80.0060.01516.65
8.0.70.0040.00416.64
8.0.60.0000.00716.61
8.0.50.0040.00416.79
8.0.30.0060.01216.89
8.0.20.0090.01017.40
8.0.10.0040.00416.94
8.0.00.0090.00916.63
7.4.330.0000.00615.00
7.4.320.0000.00616.50
7.4.300.0000.00616.36
7.4.290.0000.00616.46
7.4.280.0040.00416.36
7.4.270.0000.00716.27
7.4.260.0070.00016.45
7.4.250.0040.00416.36
7.4.240.0020.00516.46
7.4.230.0030.00316.21
7.4.220.0030.01416.50
7.4.210.0070.00716.34
7.4.200.0000.00716.57
7.4.160.0160.00016.43
7.4.150.0130.01017.40
7.4.140.0090.00917.86
7.4.130.0110.00616.46
7.4.120.0070.01216.48
7.4.110.0170.00016.28
7.4.100.0130.01316.45
7.4.90.0030.02016.46
7.4.80.0000.01819.39
7.4.70.0090.00616.46
7.4.60.0130.00616.35
7.4.50.0000.00816.08
7.4.40.0040.01816.45
7.4.30.0080.00816.48
7.4.00.0110.00314.86
7.3.330.0060.00012.86
7.3.320.0000.00512.98
7.3.310.0030.00316.07
7.3.300.0040.00416.03
7.3.290.0060.00816.17
7.3.280.0120.00716.13
7.3.270.0120.01217.40
7.3.260.0150.00916.48
7.3.250.0090.01116.33
7.3.240.0030.01316.39
7.3.230.0120.00816.39
7.3.210.0100.01016.20
7.3.200.0080.01219.39
7.3.190.0130.00316.33
7.3.180.0120.00316.50
7.3.170.0120.00316.31
7.3.160.0030.01116.20
7.3.120.0030.01415.04
7.3.00.0110.00416.32
7.2.330.0040.01416.56
7.2.320.0070.01016.53
7.2.310.0090.01216.38
7.2.300.0100.00516.57
7.2.290.0070.01116.61
7.2.130.0070.00716.89
7.2.120.0070.00716.86
7.2.110.0070.00316.69
7.2.100.0090.00616.69
7.2.90.0080.00316.68
7.2.80.0110.00316.68
7.2.70.0100.00716.83
7.2.60.0040.01116.70
7.2.50.0090.00316.77
7.2.40.0120.00416.98
7.2.30.0040.00816.85
7.2.20.0000.01416.79
7.2.10.0000.01516.96
7.2.00.0090.00416.52
7.1.250.0100.00315.57
7.1.240.0040.00415.48
7.1.230.0030.00915.46
7.1.220.0040.01115.71
7.1.210.0040.00815.54
7.1.200.0070.00315.86
7.1.190.0090.00615.63
7.1.180.0030.00915.82
7.1.170.0030.01215.59
7.1.160.0040.01115.62
7.1.150.0000.01315.61
7.1.140.0070.00015.36
7.1.130.0040.00715.36
7.1.120.0060.00615.78
7.1.110.0070.00715.77
7.1.100.0070.00715.76
7.1.90.0030.01015.66
7.1.80.0060.00615.74
7.1.70.0030.00616.20
7.1.60.0110.00316.35
7.1.50.0030.00716.28
7.1.40.0060.00915.68
7.1.30.0000.01115.70
7.1.20.0030.00915.57
7.1.10.0040.00815.54
7.1.00.0070.04018.95
7.0.330.0060.00315.15
7.0.320.0030.00615.18
7.0.310.0040.00815.03
7.0.300.0030.01015.46
7.0.290.0090.00315.19
7.0.280.0120.00315.03
7.0.270.0060.00315.25
7.0.260.0070.00415.23
7.0.250.0000.01215.39
7.0.240.0030.00715.38
7.0.230.0000.01215.13
7.0.220.0030.01015.42
7.0.210.0040.00815.27
7.0.200.0050.00715.82
7.0.190.0060.00315.18
7.0.180.0040.00415.41
7.0.170.0030.00615.27
7.0.160.0060.00315.36
7.0.150.0070.00315.43
7.0.140.0040.03918.47
7.0.130.0040.00815.39
7.0.120.0070.00715.39
7.0.110.0060.00915.34
7.0.100.0000.00715.15
7.0.90.0040.00715.31
7.0.80.0060.00615.28
7.0.70.0030.00615.27
7.0.60.0250.03317.61
7.0.50.0050.04016.63
7.0.40.0050.02516.57
7.0.30.0150.03216.76
7.0.20.0180.04216.68
7.0.10.0150.04316.71
7.0.00.0130.03916.77
5.6.380.0110.00313.77
5.6.370.0000.01113.95
5.6.360.0030.01013.99
5.6.350.0050.00514.22
5.6.340.0070.00714.25
5.6.330.0040.01114.04
5.6.320.0030.01013.77
5.6.310.0070.00714.38
5.6.300.0030.00713.92
5.6.290.0080.00314.21
5.6.280.0040.00714.20
5.6.270.0090.00314.30
5.6.260.0040.01114.25
5.6.250.0050.00314.04
5.6.240.0060.00314.11
5.6.230.0040.00414.20
5.6.220.0030.01014.19
5.6.210.0040.02417.33
5.6.200.0030.03516.31
5.6.190.0090.03617.40
5.6.180.0050.03317.45
5.6.170.0230.04017.46
5.6.160.0090.04017.39
5.6.150.0030.02616.13
5.6.140.0050.03716.03
5.6.130.0080.03816.01
5.6.120.0080.04517.58
5.6.110.0050.04517.66
5.6.100.0050.03017.50
5.6.90.0100.04317.54
5.6.80.0100.04017.36
5.6.70.0030.00914.30
5.6.60.0060.00914.05
5.6.50.0030.01014.06
5.6.40.0030.01114.09
5.6.30.0000.01014.08
5.6.20.0040.00914.11
5.6.10.0030.01013.97
5.6.00.0110.00613.94
5.5.380.0030.00711.18
5.5.370.0060.00311.18
5.5.360.0070.00311.18
5.5.350.0100.01915.83
5.5.340.0050.04214.54
5.5.330.0050.04415.77
5.5.320.0070.04315.79
5.5.310.0230.03015.69
5.5.300.0070.04114.52
5.5.290.0050.04714.59
5.5.280.0050.04416.01
5.5.270.0060.02516.02
5.5.260.0080.03816.01
5.5.250.0110.01815.93
5.5.240.0110.02315.62
5.5.230.0000.01011.18
5.5.220.0060.00611.18
5.5.210.0080.00011.18
5.5.200.0000.01111.18
5.5.190.0030.00311.18
5.5.180.0050.00011.18
5.5.170.0040.00411.18
5.5.160.0000.00511.18
5.5.150.0000.00811.18
5.5.140.0060.00011.18
5.5.130.0000.01111.18
5.5.120.0030.00611.18
5.5.110.0040.00411.18
5.5.100.0030.00311.18
5.5.90.0060.00311.18
5.5.80.0030.00911.18
5.5.70.0000.01011.18
5.5.60.0000.00711.18
5.5.50.0030.00311.18
5.5.40.0070.00011.18
5.5.30.0040.00411.18
5.5.20.0030.00611.18
5.5.10.0060.00011.18
5.5.00.0030.00511.18
5.4.450.0480.02315.31
5.4.440.0360.02315.33
5.4.430.0280.02215.15
5.4.420.0250.02715.14
5.4.410.0180.02215.24
5.4.400.0150.02415.13
5.4.390.0230.02515.15
5.4.380.0120.03214.89
5.4.370.0080.03214.94
5.4.360.0120.02814.90
5.4.350.0050.03814.92
5.4.340.0200.02114.83
5.4.330.0030.00311.18
5.4.320.0010.02411.81
5.4.310.0040.02211.81
5.4.300.0040.02111.81
5.4.290.0050.02011.81
5.4.280.0030.02011.76
5.4.270.0050.01911.76
5.4.260.0050.02211.76
5.4.250.0030.02111.76
5.4.240.0030.02111.76
5.4.230.0060.02011.76
5.4.220.0040.02211.76
5.4.210.0040.02111.76
5.4.200.0060.02111.76
5.4.190.0050.02311.75
5.4.180.0050.02311.75
5.4.170.0060.01811.76
5.4.160.0050.01911.76
5.4.150.0070.02011.76
5.4.140.0040.02011.60
5.4.130.0020.02111.59
5.4.120.0040.01911.57
5.4.110.0070.01711.57
5.4.100.0040.02111.57
5.4.90.0020.02211.57
5.4.80.0070.02011.57
5.4.70.0060.01911.57
5.4.60.0040.02011.57
5.4.50.0080.01911.57
5.4.40.0020.02411.56
5.4.30.0060.01811.56
5.4.20.0030.02311.56
5.4.10.0040.01911.56
5.4.00.0070.01911.31
5.3.290.0040.02111.99
5.3.280.0040.02011.94
5.3.270.0050.02211.95
5.3.260.0070.02011.95
5.3.250.0070.02011.95
5.3.240.0040.02311.95
5.3.230.0060.02211.94
5.3.220.0040.02111.93
5.3.210.0050.02111.93
5.3.200.0020.02311.93
5.3.190.0040.02311.93
5.3.180.0060.02011.92
5.3.170.0050.02111.92
5.3.160.0070.01811.92
5.3.150.0040.02111.93
5.3.140.0050.02111.92
5.3.130.0090.02011.92
5.3.120.0040.02411.92
5.3.110.0070.02011.92
5.3.100.0040.02311.65
5.3.90.0070.01911.63
5.3.80.0040.02411.62
5.3.70.0030.02311.63
5.3.60.0040.02311.62
5.3.50.0040.02011.59
5.3.40.0070.02011.59
5.3.30.0050.02311.56
5.3.20.0040.02311.45
5.3.10.0040.02311.43
5.3.00.0030.02211.43
5.2.170.0050.01510.18
5.2.160.0050.01610.18
5.2.150.0020.02210.18
5.2.140.0020.01810.18
5.2.130.0070.01710.16
5.2.120.0040.01510.16
5.2.110.0050.01510.16
5.2.100.0030.01710.16
5.2.90.0030.01710.16
5.2.80.0020.01910.16
5.2.70.0040.01710.16
5.2.60.0050.01610.13
5.2.50.0040.01710.12
5.2.40.0070.01810.11
5.2.30.0030.01610.09
5.2.20.0020.01810.09
5.2.10.0020.01710.06
5.2.00.0030.0179.99
5.1.60.0060.0149.63
5.1.50.0030.0179.63
5.1.40.0030.0149.63
5.1.30.0040.0149.80
5.1.20.0070.0149.81
5.1.10.0030.0149.67
5.1.00.0060.0159.67
5.0.50.0020.0148.91
5.0.40.0020.0138.84
5.0.30.0040.0178.75
5.0.20.0010.0138.74
5.0.10.0020.0138.73
5.0.00.0020.0188.72
4.4.90.0020.0117.98
4.4.80.0030.0087.97
4.4.70.0020.0097.96
4.4.60.0010.0107.96
4.4.50.0030.0107.97
4.4.40.0040.0197.94
4.4.30.0020.0137.97
4.4.20.0040.0108.01
4.4.10.0040.0118.01
4.4.00.0030.0157.96
4.3.110.0040.0097.92
4.3.100.0010.0117.92
4.3.90.0040.0087.90
4.3.80.0040.0147.88
4.3.70.0020.0097.90
4.3.60.0030.0097.90
4.3.50.0010.0137.90
4.3.40.0040.0147.86
4.3.30.0030.0077.25
4.3.20.0020.0097.24
4.3.10.0010.0097.22
4.3.00.0050.00713.06

preferences:
58.63 ms | 400 KiB | 5 Q