3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = array(1, 1, 2, 3, 5, 8); $arr = get_defined_vars(); print_r($arr);

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.130.0090.01217.82
8.4.120.0120.00820.39
8.4.110.0120.00818.95
8.4.100.0110.01017.81
8.4.90.0100.01117.48
8.4.80.0120.00917.32
8.4.70.0080.00317.86
8.4.60.0120.00518.90
8.4.50.0130.00618.52
8.4.40.0100.00717.76
8.4.30.0000.00818.65
8.4.20.0090.00317.77
8.4.10.0030.00619.37
8.3.260.0110.00916.63
8.3.250.0100.00818.59
8.3.240.0140.00516.30
8.3.230.0070.00416.29
8.3.220.0110.00616.65
8.3.210.0120.00618.41
8.3.200.0040.00516.57
8.3.190.0050.00316.92
8.3.180.0100.00816.31
8.3.170.0070.00020.36
8.3.160.0120.00616.86
8.3.150.0090.00917.14
8.3.140.0030.00516.51
8.3.130.0100.00716.41
8.3.120.0070.01420.54
8.3.110.0060.00316.78
8.3.100.0090.00018.31
8.3.90.0000.00726.77
8.3.80.0030.00617.97
8.3.70.0070.00718.14
8.3.60.0120.00918.29
8.3.50.0140.00716.50
8.3.40.0080.00823.58
8.3.30.0070.00720.07
8.3.20.0090.00024.18
8.3.10.0060.01321.79
8.3.00.0130.00718.61
8.2.290.0090.00820.60
8.2.280.0130.00518.41
8.2.270.0130.00418.98
8.2.260.0100.01016.57
8.2.250.0140.00416.59
8.2.240.0000.00816.33
8.2.230.0030.00620.94
8.2.220.0090.00024.06
8.2.210.0040.00426.77
8.2.200.0070.00316.38
8.2.190.0070.01018.16
8.2.180.0090.00916.50
8.2.170.0090.00618.85
8.2.160.0130.00022.96
8.2.150.0020.00525.66
8.2.140.0040.01420.49
8.2.130.0160.00320.41
8.2.120.0100.01019.02
8.2.110.0110.00718.95
8.2.100.0180.00318.93
8.2.90.0070.00718.82
8.2.80.0160.00319.01
8.2.70.0120.00318.77
8.2.60.0090.00618.72
8.2.50.0120.00318.63
8.2.40.0150.00618.65
8.2.30.0110.01118.71
8.2.20.0140.00718.66
8.2.10.0060.01018.82
8.2.00.0100.01018.79
8.1.330.0120.00716.03
8.1.320.0100.00916.06
8.1.310.0110.00618.39
8.1.300.0070.01016.76
8.1.290.0040.00430.84
8.1.280.0110.00425.92
8.1.270.0110.00322.05
8.1.260.0120.00822.00
8.1.250.0060.01222.13
8.1.240.0030.01320.29
8.1.230.0180.00418.53
8.1.220.0090.00918.61
8.1.210.0130.00318.44
8.1.200.0090.00018.68
8.1.190.0110.00418.73
8.1.180.0060.01018.37
8.1.170.0080.00018.38
8.1.160.0000.00818.49
8.1.150.0070.01018.36
8.1.140.0060.00320.21
8.1.130.0050.00520.32
8.1.120.0060.00318.26
8.1.110.0080.00018.38
8.1.100.0030.00518.54
8.1.90.0040.00418.38
8.1.80.0000.00818.54
8.1.70.0000.00818.35
8.1.60.0040.00418.57
8.1.50.0080.00018.63
8.1.40.0000.00818.54
8.1.30.0040.00418.60
8.1.20.0040.00418.66
8.1.10.0080.00018.56
8.1.00.0050.00318.54

preferences:
28.93 ms | 403 KiB | 5 Q