3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = 1234232323.56; setlocale(LC_MONETARY,"en_US"); echo money_format("The price is %i", $number); ?>

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.0100.01017.13
8.3.50.0100.01016.59
8.3.40.0090.00919.21
8.3.30.0040.01118.97
8.3.20.0040.00420.66
8.3.10.0080.00022.10
8.3.00.0040.00420.58
8.2.180.0100.01018.66
8.2.170.0140.00422.96
8.2.160.0150.00620.77
8.2.150.0050.00224.18
8.2.140.0070.00024.66
8.2.130.0050.00321.42
8.2.120.0070.00026.35
8.2.110.0060.00320.89
8.2.100.0040.00718.34
8.2.90.0000.00819.31
8.2.80.0080.00018.30
8.2.70.0050.00317.75
8.2.60.0000.00818.30
8.2.50.0040.00418.30
8.2.40.0070.00020.97
8.2.30.0040.00421.21
8.2.20.0000.00718.31
8.2.10.0000.00718.33
8.2.00.0070.00018.33
8.1.280.0090.00925.92
8.1.270.0060.00322.57
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0060.00324.21
8.1.230.0040.00818.20
8.1.220.0080.00017.80
8.1.210.0040.00418.77
8.1.200.0030.00717.73
8.1.190.0040.00417.60
8.1.180.0000.00818.10
8.1.170.0040.00418.66
8.1.160.0070.00019.34
8.1.150.0000.00721.01
8.1.140.0060.00319.80
8.1.130.0000.00719.05
8.1.120.0000.00717.70
8.1.110.0070.00017.57
8.1.100.0040.00417.69
8.1.90.0000.00817.70
8.1.80.0000.00817.76
8.1.70.0030.00517.53
8.1.60.0030.00717.82
8.1.50.0100.00017.88
8.1.40.0080.00017.78
8.1.30.0000.00817.75
8.1.20.0040.00417.94
8.1.10.0000.00817.73
8.1.00.0040.00417.82
8.0.300.0080.00018.77
8.0.290.0050.00317.13
8.0.280.0030.00518.82
8.0.270.0000.00717.53
8.0.260.0070.00017.25
8.0.250.0000.00717.44
8.0.240.0000.00717.27
8.0.230.0050.00317.38
8.0.220.0070.00017.28
8.0.210.0000.00717.07
8.0.200.0030.00317.36
8.0.190.0040.00417.31
8.0.180.0090.00317.18
8.0.170.0070.00017.11
8.0.160.0030.00317.30
8.0.150.0030.00317.11
8.0.140.0040.00417.22
8.0.130.0090.00013.54
8.0.120.0080.00017.16
8.0.110.0000.00817.23
8.0.100.0070.00017.16
8.0.90.0050.00217.17
8.0.80.0090.00617.25
8.0.70.0000.00717.14
8.0.60.0040.00417.15
8.0.50.0070.00017.05
8.0.30.0130.00717.32
8.0.20.0100.01217.43
8.0.10.0040.00417.20
8.0.00.0090.01617.20
7.4.330.0000.00515.57
7.4.320.0000.00616.76
7.4.300.0030.00316.73
7.4.290.0030.00316.80
7.4.280.0050.00316.72
7.4.270.0000.00716.84
7.4.260.0000.00716.88
7.4.250.0000.00716.70
7.4.240.0000.00716.66
7.4.230.0030.00516.96
7.4.220.0170.00016.87
7.4.210.0030.01016.85
7.4.200.0000.00716.85
7.4.160.0070.00716.73
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0100.01716.74
7.4.120.0130.00716.90
7.3.330.0020.00213.36
7.3.320.0000.00513.30
7.3.310.0030.00316.33
7.3.300.0070.00016.43
7.3.290.0100.00916.38
7.3.280.0090.00716.45
7.3.270.0030.01617.40
7.3.260.0080.01216.70
7.3.250.0090.00916.56
7.3.240.0110.00616.77

preferences:
49.72 ms | 401 KiB | 5 Q