3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $a = []; var_dump($a[0]);

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.4.20.0040.00419.84
8.4.10.0040.00419.65
8.3.150.0060.01116.95
8.3.140.0000.00816.70
8.3.130.0040.00418.15
8.3.120.0090.00620.87
8.3.110.0040.00420.94
8.3.100.0040.00716.47
8.3.90.0100.00026.77
8.3.80.0040.00418.19
8.3.70.0080.00616.63
8.3.60.0070.01416.50
8.3.50.0090.00916.68
8.3.40.0140.00020.13
8.3.30.0110.00419.02
8.3.20.0070.00024.18
8.3.10.0030.00524.66
8.3.00.0070.00026.16
8.2.270.0120.00617.20
8.2.260.0080.00016.52
8.2.250.0070.00416.62
8.2.240.0080.00016.85
8.2.230.0080.00022.58
8.2.220.0060.00324.06
8.2.210.0090.00926.77
8.2.200.0070.00718.43
8.2.190.0200.00016.88
8.2.180.0060.00916.50
8.2.170.0130.00719.08
8.2.160.0060.01022.96
8.2.150.0080.00025.66
8.2.140.0030.00624.66
8.2.130.0050.00226.16
8.2.120.0050.00221.13
8.2.110.0030.01920.45
8.2.100.0130.00919.05
8.2.90.0100.01318.82
8.2.80.0140.01118.59
8.2.70.0210.00020.45
8.2.60.0070.00718.75
8.2.50.0060.00318.89
8.2.40.0160.00018.87
8.2.30.0070.01418.79
8.2.20.0150.00418.79
8.2.10.0060.01218.95
8.2.00.0080.00318.94
8.1.310.0140.00418.30
8.1.300.0060.00320.14
8.1.290.0040.00418.88
8.1.280.0040.01425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0170.00318.30
8.1.230.0110.00018.42
8.1.220.0050.00518.61
8.1.210.0090.00619.63
8.1.200.0090.00018.38
8.1.190.0030.00718.43
8.1.180.0180.00418.44
8.1.170.0140.00718.44
8.1.160.0110.00018.77
8.1.150.0170.00018.69
8.1.140.0080.00818.44
8.1.130.0160.00618.48
8.1.120.0040.01518.55
8.1.110.0000.01118.50
8.1.100.0070.00318.42
8.1.90.0090.00018.41
8.1.80.0040.00418.62
8.1.70.0000.01118.64
8.1.60.0060.00620.46
8.1.50.0060.00620.33
8.1.40.0040.01120.67
8.1.30.0080.00320.52
8.1.20.0070.00320.53
8.1.10.0070.00320.33
8.1.00.0060.00320.51
8.0.300.0060.00319.77
8.0.290.0030.00719.62
8.0.280.0090.00019.68
8.0.270.0030.00619.69
8.0.260.0060.00319.64
8.0.250.0030.00619.70
8.0.240.0090.00019.76
8.0.230.0060.00320.17
8.0.220.0000.01019.57
8.0.210.0060.00319.68
8.0.200.0090.00019.75
8.0.190.0040.00419.75
8.0.180.0030.00719.75
8.0.170.0060.00319.70
8.0.160.0100.00019.54
8.0.150.0060.00319.66
8.0.140.0050.00519.62
8.0.130.0030.00617.68
8.0.120.0060.01617.96
8.0.110.0060.00318.05
8.0.100.0050.00517.88
8.0.90.0160.00317.76
8.0.80.0090.00017.79
8.0.70.0130.00017.71
8.0.60.0140.00017.79
8.0.50.0090.00017.73
8.0.30.0100.00717.83
8.0.20.0140.00717.96
8.0.10.0080.00818.08

preferences:
27.86 ms | 403 KiB | 5 Q