3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = [ 'first' => 'Foo', 'last' => 'Bar', ]; echo "Hello $name[first]";

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.90.0030.01426.77
8.3.80.0060.00317.97
8.3.70.0040.01218.30
8.3.60.0070.00718.28
8.3.50.0250.00316.56
8.3.40.0110.00321.83
8.3.30.0060.00918.64
8.3.20.0080.00024.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.210.0040.00426.77
8.2.200.0060.00316.50
8.2.190.0070.00716.58
8.2.180.0000.01516.38
8.2.170.0080.00819.02
8.2.160.0100.00722.96
8.2.150.0100.00025.66
8.2.140.0080.00024.66
8.2.130.0090.00926.16
8.2.120.0070.00019.89
8.2.110.0150.00622.14
8.2.100.0070.01520.76
8.2.90.0230.00618.70
8.2.80.0170.01018.75
8.2.70.0180.00018.85
8.2.60.0250.00418.75
8.2.50.0070.00719.84
8.2.40.0100.00318.71
8.2.30.0130.00018.87
8.2.20.0000.01318.83
8.2.10.0110.00318.91
8.2.00.0140.00319.12
8.1.290.0030.00630.84
8.1.280.0100.00725.92
8.1.270.0000.00824.66
8.1.260.0050.00326.35
8.1.250.0000.00828.09
8.1.240.0110.00418.36
8.1.230.0120.00318.61
8.1.220.0090.00418.51
8.1.210.0030.01019.46
8.1.200.0130.00018.32
8.1.190.0150.00018.29
8.1.180.0150.00018.42
8.1.170.0130.00018.44
8.1.160.0040.00818.51
8.1.150.0060.00620.64
8.1.140.0100.00318.49
8.1.130.0070.00718.33
8.1.120.0060.00618.39
8.1.110.0080.00419.73
8.1.100.0090.00618.39
8.1.90.0070.00718.48
8.1.80.0090.00418.37
8.1.70.0040.00818.63
8.1.60.0160.00018.36
8.1.50.0160.00018.39
8.1.40.0130.00018.72
8.1.30.0130.00018.98
8.1.20.0160.00018.38
8.1.10.0080.00418.84
8.1.00.0090.00418.59
8.0.300.0070.00717.83
8.0.290.0100.00617.68
8.0.280.0120.00317.82
8.0.270.0150.00017.82
8.0.260.0050.00518.25
8.0.250.0100.00317.71
8.0.240.0110.00317.96
8.0.230.0120.00018.38
8.0.220.0150.00017.93
8.0.210.0200.00317.79
8.0.200.0070.00717.83
8.0.190.0070.00518.31
8.0.180.0140.00017.89
8.0.170.0110.00417.86
8.0.160.0110.00417.70
8.0.150.0120.00317.83
8.0.140.0150.00017.82
8.0.130.0090.00518.18
8.0.120.0120.00317.88
8.0.110.0110.00318.05
8.0.100.0120.00317.79
8.0.90.0120.00317.76
8.0.80.0150.00017.83
8.0.70.0110.00417.76
8.0.60.0110.00318.03
8.0.50.0070.00717.73
8.0.30.0140.00018.18
8.0.20.0110.00418.00
8.0.10.0110.00317.88

preferences:
13.16 ms | 401 KiB | 5 Q