3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Antes de PHP 8.1, se podían utilizar índices decimales que PHP // convertía a enteros quitando la parte decimal. // Todavía se puede hacer, pero PHP genera errores E_DEPRECATED $nombres[1.7] = "Alba"; print "<p>$nombres[1]<p>\n";

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.130.0060.00318.46
8.3.120.0060.00318.88
8.3.110.0070.01420.94
8.3.100.0060.00316.77
8.3.90.0040.00426.77
8.3.80.0060.00616.50
8.3.70.0070.00716.61
8.3.60.0040.01418.53
8.3.50.0070.01018.37
8.3.40.0140.00020.19
8.3.30.0190.00018.84
8.3.20.0000.00724.18
8.3.10.0090.00024.66
8.3.00.0050.00226.16
8.2.250.0090.00916.41
8.2.240.0030.00618.94
8.2.230.0120.00322.58
8.2.220.0030.00524.06
8.2.210.0040.00426.77
8.2.200.0030.00618.16
8.2.190.0070.00718.41
8.2.180.0040.01125.92
8.2.170.0090.00622.96
8.2.160.0110.00422.96
8.2.150.0080.00025.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0090.00020.52
8.2.100.0060.00617.91
8.2.90.0040.00420.64
8.2.80.0000.00718.09
8.2.70.0060.00317.93
8.2.60.0130.00018.13
8.2.50.0030.00618.10
8.2.40.0040.00419.47
8.2.30.0040.00419.19
8.2.20.0020.00520.50
8.2.10.0040.00418.26
8.2.00.0080.00019.35
8.1.300.0100.00017.73
8.1.290.0030.00630.84
8.1.280.0090.00625.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0090.00328.09
8.1.240.0090.00023.82
8.1.230.0060.00620.86
8.1.220.0000.00817.74
8.1.210.0030.00719.01
8.1.200.0030.00617.35
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0050.00318.66
8.1.160.0050.00218.77
8.1.150.0000.00718.45
8.1.140.0070.00017.20
8.1.130.0050.01117.23
8.1.120.0040.01217.36
8.1.110.0160.00017.40
8.1.100.0160.00017.29
8.1.90.0150.00017.27
8.1.80.0040.01217.40
8.1.70.0150.00017.39
8.1.60.0150.00317.42
8.1.50.0140.00417.45
8.1.40.0100.00717.52
8.1.30.0070.01017.54
8.1.20.0000.00819.31
8.1.10.0030.00519.20
8.1.00.0170.00017.46
8.0.300.0000.00719.77
8.0.290.0000.00816.75
8.0.280.0000.00718.39
8.0.270.0060.00318.00
8.0.260.0140.00016.95
8.0.250.0080.00516.95
8.0.240.0000.01018.60
8.0.230.0050.00718.57
8.0.220.0070.00518.58
8.0.210.0100.00018.59
8.0.200.0110.00018.60
8.0.190.0060.00316.95
8.0.180.0040.00716.95
8.0.170.0080.00316.95
8.0.160.0030.01016.95
8.0.150.0090.00616.95
8.0.140.0120.00016.95
8.0.130.0070.00316.95
8.0.120.0050.00516.95
8.0.110.0050.00516.95
8.0.100.0030.00716.95
8.0.90.0100.00016.95
8.0.80.0050.00516.95
8.0.70.0080.00316.95
8.0.60.0050.00516.95
8.0.50.0050.00516.95
8.0.30.0000.01016.95
8.0.20.0070.00316.95
8.0.10.0000.00916.95

preferences:
46.32 ms | 403 KiB | 5 Q