3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testing = 'foo'; $array = ['bar' => 'testing']; echo ${$array['bar']};

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.0150.00616.75
8.3.50.0070.00716.29
8.3.40.0150.00018.45
8.3.30.0110.00418.51
8.3.20.0000.00720.26
8.3.10.0040.00421.68
8.3.00.0040.00417.50
8.2.180.0080.00816.38
8.2.170.0090.00622.96
8.2.160.0090.00620.32
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.76
8.2.120.0100.00026.35
8.2.110.0060.00322.12
8.2.100.0040.00717.84
8.2.90.0040.00419.18
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0000.00720.55
8.2.30.0000.00821.04
8.2.20.0060.00317.98
8.2.10.0070.00018.05
8.2.00.0040.00417.92
8.1.280.0070.00725.92
8.1.270.0000.00822.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00922.09
8.1.230.0080.00319.09
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0060.00318.90
8.1.160.0030.00519.00
8.1.150.0050.00320.67
8.1.140.0050.00519.55
8.1.130.0050.00318.88
8.1.120.0030.00317.38
8.1.110.0040.00517.26
8.1.100.0000.00817.34
8.1.90.0000.00717.34
8.1.80.0000.00717.45
8.1.70.0000.00717.42
8.1.60.0040.00417.41
8.1.50.0030.00617.53
8.1.40.0000.00817.39
8.1.30.0040.00417.48
8.1.20.0000.00817.55
8.1.10.0040.00417.50
8.1.00.0080.00017.48
8.0.300.0000.00720.10
8.0.290.0040.00416.75
8.0.280.0070.00018.37
8.0.270.0030.00317.25
8.0.260.0030.00316.80
8.0.250.0060.00016.95
8.0.240.0070.00016.82
8.0.230.0000.00716.90
8.0.220.0080.00016.78
8.0.210.0000.00716.92
8.0.200.0030.00316.95
8.0.190.0000.00816.92
8.0.180.0040.00416.92
8.0.170.0070.00016.90
8.0.160.0050.00316.90
8.0.150.0030.00516.81
8.0.140.0040.00416.69
8.0.130.0030.00313.40
8.0.120.0050.00316.91
8.0.110.0050.00216.91
8.0.100.0000.00716.83
8.0.90.0040.00416.82
8.0.80.0060.00916.88
8.0.70.0030.00616.92
8.0.60.0000.00716.89
8.0.50.0080.00016.77
8.0.30.0080.00816.95
8.0.20.0100.00917.40
8.0.10.0000.00716.92
8.0.00.0100.00616.83
7.4.330.0000.00715.55
7.4.320.0060.00016.48
7.4.300.0030.00316.51
7.4.290.0040.00416.56
7.4.280.0000.00816.48
7.4.270.0000.00616.55
7.4.260.0030.00316.46
7.4.250.0000.00716.38
7.4.240.0000.00616.55
7.4.230.0040.00416.42
7.4.220.0060.01216.61
7.4.210.0110.00316.52
7.4.200.0040.00416.69
7.4.160.0090.00716.36
7.4.150.0070.01017.40
7.4.140.0120.00917.86
7.4.130.0080.01216.46
7.4.120.0120.00516.53
7.4.110.0100.00716.55
7.4.100.0100.01016.68
7.4.90.0100.00716.43
7.4.80.0150.00319.39
7.4.70.0050.01116.44
7.4.60.0050.01016.28
7.4.50.0110.00716.17
7.4.40.0110.00516.48
7.4.30.0070.01016.62
7.4.00.0100.00715.02
7.3.330.0080.00013.17
7.3.320.0000.00512.95
7.3.310.0030.00316.25
7.3.300.0000.00616.28
7.3.290.0080.00916.22
7.3.280.0080.00816.19
7.3.270.0150.00317.40
7.3.260.0060.01116.66
7.3.250.0060.01216.41
7.3.240.0120.00616.46
7.3.230.0110.00716.32
7.3.210.0030.01516.29
7.3.200.0090.00616.52
7.3.190.0100.00616.21
7.3.180.0120.00316.21
7.3.170.0120.00416.35
7.3.160.0030.01216.30
7.3.120.0070.01114.60
7.3.110.0110.00714.87
7.3.100.0070.01014.94
7.3.90.0030.00814.91
7.3.80.0070.00414.73
7.3.70.0090.00914.62
7.3.60.0130.00314.73
7.3.50.0100.00314.74
7.3.40.0030.01014.79
7.3.30.0070.00314.63
7.3.20.0000.01616.57
7.3.10.0040.00716.48
7.3.00.0040.00416.67
7.2.330.0180.00616.65
7.2.320.0100.01316.57
7.2.310.0070.01016.54
7.2.300.0070.01716.56
7.2.290.0060.01016.36
7.2.250.0030.01615.16
7.2.240.0080.00414.87
7.2.230.0060.01314.96
7.2.220.0040.01414.82
7.2.210.0100.00615.00
7.2.200.0060.01015.13
7.2.190.0070.00714.84
7.2.180.0040.01115.12
7.2.170.0060.00314.97
7.2.60.0080.00416.74
7.2.00.0040.00819.48
7.1.330.0030.01015.79
7.1.320.0080.00815.78
7.1.310.0070.01115.67
7.1.300.0070.00715.62
7.1.290.0060.00315.53
7.1.280.0030.00715.72
7.1.270.0000.01015.71
7.1.260.0080.00315.46
7.1.200.0040.00715.65
7.1.100.0000.01118.31
7.1.70.0160.00617.17
7.1.60.0250.01334.89
7.1.50.0270.01134.82
7.1.40.0300.01534.28
7.1.30.0170.01734.27
7.1.20.0330.01334.40
7.1.10.0110.01416.36
7.1.00.0080.01516.30
7.0.200.0030.01516.60
7.0.190.0090.01316.66
7.0.180.0070.01416.29
7.0.170.0070.01016.11
7.0.160.0080.01316.06
7.0.150.0040.01216.07
7.0.140.0000.02316.30
7.0.130.0170.00616.48
7.0.120.0120.01216.23
7.0.110.0130.00516.25
7.0.100.0070.01016.04
7.0.90.0080.00916.11
7.0.80.0070.01316.16
7.0.70.0070.01416.42
7.0.60.0130.00615.97
7.0.50.0100.00616.46
7.0.40.0040.01116.43
7.0.30.0140.01016.54
7.0.20.0070.01316.47
7.0.10.0070.01416.41
7.0.00.0070.01116.23

preferences:
37.31 ms | 401 KiB | 5 Q