3v4l.org

run code in 300+ PHP versions simultaneously
<?php $symbol = AAATX; $prd = strtoupper(str_replace(substr($symbol, -1), '.' . substr($symbol, -1), $symbol)); var_dump($prd);

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.01018.68
8.3.30.0110.00718.77
8.3.20.0080.00020.16
8.3.10.0040.00423.54
8.3.00.0040.00419.85
8.2.170.0090.00922.96
8.2.160.0130.00020.43
8.2.150.0030.00524.18
8.2.140.0030.00524.66
8.2.130.0000.00819.23
8.2.120.0000.00826.35
8.2.110.0090.00021.07
8.2.100.0090.00317.91
8.2.90.0030.00619.27
8.2.80.0060.00317.97
8.2.70.0070.00717.50
8.2.60.0030.00618.03
8.2.50.0110.00218.07
8.2.40.0040.00422.15
8.2.30.0000.00720.66
8.2.20.0090.00017.77
8.2.10.0050.00317.98
8.2.00.0040.00418.03
8.1.270.0040.00420.32
8.1.260.0020.00528.09
8.1.250.0050.00328.09
8.1.240.0110.00722.14
8.1.230.0110.00018.99
8.1.220.0030.00717.74
8.1.210.0050.00318.77
8.1.200.0030.00617.36
8.1.190.0080.00317.10
8.1.180.0000.00718.10
8.1.170.0040.00418.53
8.1.160.0000.00720.70
8.1.150.0000.00718.88
8.1.140.0080.00019.49
8.1.130.0040.00417.68
8.1.120.0000.00717.33
8.1.110.0050.00317.29
8.1.100.0040.00417.39
8.1.90.0100.00017.29
8.1.80.0050.00317.27
8.1.70.0000.00717.39
8.1.60.0000.00817.50
8.1.50.0040.00417.46
8.1.40.0030.00517.46
8.1.30.0000.00817.50
8.1.20.0030.00617.51
8.1.10.0030.00517.41
8.1.00.0080.00017.44
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0000.00718.39
8.0.270.0000.00717.12
8.0.260.0000.00617.25
8.0.250.0000.00716.95
8.0.240.0030.00317.09
8.0.230.0030.00317.05
8.0.220.0040.00416.88
8.0.210.0040.00416.85
8.0.200.0060.00316.93
8.0.190.0070.00317.04
8.0.180.0030.00617.01
8.0.170.0040.00416.80
8.0.160.0040.00416.91
8.0.150.0000.00816.75
8.0.140.0000.00916.92
8.0.130.0050.00013.29
8.0.120.0040.00416.87
8.0.110.0000.00716.86
8.0.100.0040.00416.91
8.0.90.0000.00716.97
8.0.80.0090.00616.99
8.0.70.0050.00216.96
8.0.60.0050.00216.98
8.0.50.0000.00816.97
8.0.30.0130.00617.13
8.0.20.0080.01017.40
8.0.10.0000.00817.04
8.0.00.0090.00916.74
7.4.330.0000.00616.70
7.4.320.0040.00416.49
7.4.300.0000.00616.52
7.4.290.0080.00016.51
7.4.280.0070.00016.59
7.4.270.0070.00016.62
7.4.260.0070.00016.38
7.4.250.0000.00816.37
7.4.240.0050.00216.54
7.4.230.0040.00416.62
7.4.220.0110.00716.63
7.4.210.0110.00416.40
7.4.200.0000.00716.25
7.4.160.0090.00616.66
7.4.150.0100.00717.40
7.4.140.0180.00717.86
7.4.130.0130.00416.41
7.4.120.0040.01316.56
7.4.110.0060.01516.55
7.4.100.0090.01216.54
7.4.90.0170.00716.61
7.4.80.0120.00419.39
7.4.70.0230.03016.52
7.4.60.0080.00816.48
7.4.50.0150.00016.25
7.4.40.0030.01316.66
7.4.30.0080.00816.30
7.4.00.0040.01115.05
7.3.330.0050.00013.14
7.3.320.0060.00313.14
7.3.310.0040.00416.10
7.3.300.0050.00216.23
7.3.290.0050.01116.30
7.3.280.0090.00816.27
7.3.270.0110.00517.40
7.3.260.0040.01416.48
7.3.250.0090.00916.28
7.3.240.0070.01316.35
7.3.230.0060.01016.45
7.3.210.0130.00316.46
7.3.200.0090.00916.40
7.3.190.0100.00716.21
7.3.180.0060.01516.45
7.3.170.0150.00616.31
7.3.160.0030.01316.24
7.3.10.0040.01116.29
7.3.00.0070.00716.64
7.2.330.0110.00716.41
7.2.320.0090.00916.70
7.2.310.0030.01516.52
7.2.300.0130.01016.50
7.2.290.0030.01316.46
7.2.130.0030.00616.91
7.2.120.0110.00316.93
7.2.110.0030.01016.73
7.2.100.0000.00717.01
7.2.90.0090.00616.93
7.2.80.0060.00316.80
7.2.70.0070.00716.81
7.2.60.0100.00516.72
7.2.50.0000.01416.96
7.2.40.0120.00316.89
7.2.30.0040.01116.73
7.2.20.0100.00316.90
7.2.10.0090.00316.57
7.2.00.0010.01018.12
7.1.250.0120.00015.56
7.1.200.0150.00415.64
7.1.100.0070.00718.20
7.1.70.0000.01216.80
7.1.60.0090.01219.52
7.1.50.0110.00316.86
7.1.00.0030.07722.37
7.0.200.0000.00916.82
7.0.60.0130.07719.88
7.0.50.0070.08317.84
7.0.40.0070.04019.96
7.0.30.0200.05320.18
7.0.20.0400.07020.16
7.0.10.0070.06320.30
7.0.00.0030.05319.99
5.6.280.0030.04320.77
5.6.210.0070.05720.45
5.6.200.0100.08018.21
5.6.190.0030.08020.67
5.6.180.0230.05320.43
5.6.170.0200.07320.48
5.6.160.0070.06720.46
5.6.150.0130.08018.20
5.6.140.0130.07318.07
5.6.130.0170.07018.10
5.6.120.0130.07320.98
5.6.110.0100.08721.08
5.6.100.0030.04021.01
5.6.90.0170.07021.09
5.6.80.0070.08020.51
5.5.350.0170.04720.37
5.5.340.0070.08018.02
5.5.330.0030.05320.37
5.5.320.0630.07020.34
5.5.310.0300.06320.17
5.5.300.0000.04017.92
5.5.290.0030.04317.98
5.5.280.0130.08020.89
5.5.270.0070.06720.79
5.5.260.0070.06720.83
5.5.250.0100.06320.61
5.5.240.4170.04020.05

preferences:
39.3 ms | 400 KiB | 5 Q