3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r( array( 'asdf'=>array('asdfasd6', 'asdf4'=>array('asdfasd'), ), 'asdf1'=>array('asdfasd'), 'asdf2'=>234234, 'asdf3'=>array('asdfasd'), ) );

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.0030.01018.55
8.3.50.0110.00722.94
8.3.40.0110.00418.45
8.3.30.0090.00619.02
8.3.20.0070.00020.09
8.3.10.0040.00421.88
8.3.00.0090.00019.07
8.2.180.0170.00316.38
8.2.170.0070.01322.96
8.2.160.0070.01420.24
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0020.00520.92
8.2.110.0040.00419.19
8.2.100.0090.00317.78
8.2.90.0080.00017.78
8.2.80.0000.00819.38
8.2.70.0030.00617.80
8.2.60.0000.00817.38
8.2.50.0040.00418.10
8.2.40.0070.00022.16
8.2.30.0030.00619.33
8.2.20.0050.00217.42
8.2.10.0040.00417.92
8.2.00.0000.00717.45
8.1.280.0170.00325.92
8.1.270.0080.00818.64
8.1.260.0030.00726.35
8.1.250.0050.00328.09
8.1.240.0030.00623.71
8.1.230.0080.00322.68
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0080.00017.00
8.1.190.0030.00517.11
8.1.180.0070.00018.10
8.1.170.0030.00518.52
8.1.160.0040.00418.61
8.1.150.0070.00018.98
8.1.140.0070.00017.29
8.1.130.0000.00717.75
8.1.120.0000.00717.38
8.1.110.0000.00717.38
8.1.100.0070.00017.26
8.1.90.0050.00317.33
8.1.80.0000.00717.32
8.1.70.0000.00717.27
8.1.60.0060.00317.44
8.1.50.0040.00417.42
8.1.40.0000.00817.33
8.1.30.0030.00517.52
8.1.20.0040.00417.53
8.1.10.0020.00517.33
8.1.00.0000.00717.20
8.0.300.0000.00719.96
8.0.290.0050.00316.63
8.0.280.0030.00318.30
8.0.270.0000.00717.02
8.0.260.0060.00016.99
8.0.250.0000.00716.77
8.0.240.0000.00816.70
8.0.230.0000.00816.80
8.0.220.0000.00716.75
8.0.210.0050.00316.63
8.0.200.0000.00616.81
8.0.190.0000.00716.85
8.0.180.0040.00316.72
8.0.170.0040.00416.70
8.0.160.0000.00716.75
8.0.150.0030.00516.72
8.0.140.0030.00316.59
8.0.130.0060.00013.22
8.0.120.0040.00416.64
8.0.110.0050.00216.74
8.0.100.0040.00416.80
8.0.90.0000.00816.65
8.0.80.0090.00616.78
8.0.70.0050.00216.59
8.0.60.0070.00016.60
8.0.50.0020.00516.57
8.0.30.0100.01217.17
8.0.20.0160.00617.40
8.0.10.0040.00416.75
8.0.00.0080.01016.59
7.4.330.0030.00315.03
7.4.320.0000.00616.31
7.4.300.0070.00016.45
7.4.290.0030.00316.33
7.4.280.0000.00916.34
7.4.270.0070.00016.46
7.4.260.0000.00716.36
7.4.250.0040.00416.33
7.4.240.0030.00516.31
7.4.230.0030.00316.43
7.4.220.0100.01016.40
7.4.210.0090.00616.32
7.4.200.0000.00716.52
7.4.160.0040.01116.36
7.4.150.0090.01517.40
7.4.140.0080.01017.86
7.4.130.0120.00716.38
7.4.120.0120.00916.34
7.4.110.0100.01416.43
7.4.100.0150.00316.29
7.4.90.0070.01016.42
7.4.80.0100.00719.39
7.4.70.0140.00616.31
7.4.60.0110.00616.27
7.4.50.0000.00716.21
7.4.40.0110.00616.19
7.4.30.0110.00616.51
7.4.00.0040.01214.86
7.3.330.0060.00012.88
7.3.320.0060.00012.94
7.3.310.0030.00316.16
7.3.300.0030.00316.17
7.3.290.0070.01016.13
7.3.280.0100.00816.12
7.3.270.0190.00617.40
7.3.260.0100.00716.32
7.3.250.0110.00616.22
7.3.240.0080.00815.95
7.3.230.0090.00816.39
7.3.210.0090.01316.34
7.3.200.0060.00919.39
7.3.190.0140.00316.34
7.3.180.0030.01316.15
7.3.170.0090.00616.27
7.3.160.0090.00616.26
7.3.10.0050.01116.27
7.3.00.0070.00816.20
7.2.330.0060.01216.52
7.2.320.0110.00716.48
7.2.310.0120.00316.44
7.2.300.0070.01116.41
7.2.290.0070.01016.38
7.2.130.0080.01016.21
7.2.120.0060.00716.32
7.2.110.0030.00816.31
7.2.100.0060.00716.47
7.2.90.0120.00616.17
7.2.80.0080.00616.29
7.2.70.0130.00316.27
7.2.60.0010.01316.43
7.2.50.0080.01416.14
7.2.40.0130.01016.47
7.2.30.0020.01316.41
7.2.20.0070.00916.20
7.2.10.0100.00816.39
7.2.00.0090.00617.17
7.1.250.0100.00715.35
7.1.200.0050.00215.42
7.1.100.0000.01218.06
7.1.70.0040.00416.71
7.1.60.0100.01319.57
7.1.50.0000.01616.54
7.1.00.0030.07022.28
7.0.200.0000.00716.67
7.0.140.0000.03721.95
7.0.60.0030.05319.90
7.0.50.0070.07717.89
7.0.40.0100.04720.14
7.0.30.0600.07020.07
7.0.20.0130.09320.15
7.0.10.0030.05720.09
7.0.00.0130.08020.32
5.6.280.0070.07021.02
5.6.210.0300.06320.74
5.6.200.0070.05018.16
5.6.190.0100.03720.64
5.6.180.2670.04320.61
5.6.170.0370.06720.54
5.6.160.0070.05020.54
5.6.150.0070.04318.12
5.6.140.0070.08018.27
5.6.130.0170.07018.18
5.6.120.0130.07721.00
5.6.110.0100.08020.97
5.6.100.0130.08020.98
5.6.90.0100.06020.96
5.6.80.0130.07720.50
5.6.70.3330.03320.29
5.5.350.0100.04320.30
5.5.340.0000.04318.01
5.5.330.0000.09020.27
5.5.320.0200.07320.29
5.5.310.0330.07320.30
5.5.300.0070.04017.96
5.5.290.0100.05718.08
5.5.280.0200.07320.75
5.5.270.0070.05720.86
5.5.260.0000.09020.79
5.5.250.0070.04020.68
5.5.240.0370.07020.28
5.4.450.0430.06719.55
5.4.440.0270.04719.30
5.4.430.0170.05019.54
5.4.420.0100.05719.38
5.4.410.0000.06319.42
5.4.400.0130.05019.21
5.4.390.0030.06019.13
5.4.380.0230.05718.79
5.4.370.0230.05718.74
5.4.360.0330.04318.84
5.4.350.0270.05718.79
5.4.340.0330.05018.82
5.4.320.0300.05018.80
5.4.310.0200.05718.50
5.4.300.0330.04718.50
5.4.290.0170.05718.73
5.4.280.0300.04718.49
5.4.270.0270.05018.78
5.4.260.0130.06318.57
5.4.250.0170.06018.75
5.4.240.0300.05018.50
5.4.230.0230.05018.73
5.4.220.0270.06318.71
5.4.210.0270.05018.49
5.4.200.0230.05016.59
5.4.190.0200.05718.77
5.4.180.0330.04318.63
5.4.170.0230.05718.71
5.4.160.0230.05318.67
5.4.150.0370.04318.71
5.4.140.0300.04716.26
5.4.130.0430.03316.18
5.4.120.0270.04716.33
5.4.110.0230.05016.28
5.4.100.0270.05016.25
5.4.90.0170.06016.28
5.4.80.0200.05016.41
5.4.70.0400.04316.23
5.4.60.0500.05316.43
5.4.50.0270.04316.26
5.4.40.0230.05316.25
5.4.30.0200.05316.17
5.4.20.0270.05016.20
5.4.10.0230.05316.23
5.4.00.0270.04715.88
5.3.290.0370.04314.68
5.3.280.0330.04714.64
5.3.270.0270.05014.58
5.3.260.0170.06314.64
5.3.250.0170.05714.73
5.3.240.0230.05314.77
5.3.230.0230.05014.80
5.3.220.0200.05314.77
5.3.210.0200.05714.78
5.3.200.0230.05314.66
5.3.190.0300.04314.62
5.3.180.0430.04714.77
5.3.170.0200.05314.73
5.3.160.0230.05014.61
5.3.150.0370.03714.56
5.3.140.0200.05714.57
5.3.130.0170.06314.65
5.3.120.0230.05314.75
5.3.110.0330.05014.77
5.3.100.0230.05314.06
5.3.90.0230.05014.09
5.3.80.0270.05014.05
5.3.70.0200.05314.09
5.3.60.0270.06714.20
5.3.50.0270.05714.11
5.3.40.0300.04714.07
5.3.30.0330.03713.98
5.3.20.0230.04713.69
5.3.10.0270.04313.87
5.3.00.0270.05313.71
5.2.170.0130.04711.19
5.2.160.0230.05011.24
5.2.150.0200.04311.38
5.2.140.0170.04311.19
5.2.130.0200.04011.13
5.2.120.0170.04011.13
5.2.110.0330.02711.21
5.2.100.0170.04711.14
5.2.90.0300.03011.21
5.2.80.0200.04311.19
5.2.70.0200.04011.14
5.2.60.0130.04711.09
5.2.50.0200.04011.11
5.2.40.0100.04711.03
5.2.30.0200.04010.98
5.2.20.0200.04011.00
5.2.10.0130.04710.89
5.2.00.0270.05310.93
5.1.60.0230.03710.01
5.1.50.0100.03710.16
5.1.40.0170.03310.09
5.1.30.0130.04010.44
5.1.20.0200.03710.47
5.1.10.0130.04010.08
5.1.00.0100.04010.14
5.0.50.0130.0238.58
5.0.40.0100.0278.50
5.0.30.0070.0478.29
5.0.20.0100.0278.32
5.0.10.0130.0238.18
5.0.00.0070.0478.25
4.4.90.0130.0175.91
4.4.80.0130.0175.89
4.4.70.0130.0175.92
4.4.60.0100.0205.90
4.4.50.0130.0175.98
4.4.40.0070.0375.88
4.4.30.0000.0275.87
4.4.20.0070.0275.88
4.4.10.0100.0206.06
4.4.00.0130.0305.89
4.3.110.0130.0175.80
4.3.100.0100.0205.80
4.3.90.0130.0175.80
4.3.80.0070.0375.77
4.3.70.0030.0235.81
4.3.60.0130.0175.77
4.3.50.0100.0205.79
4.3.40.0130.0275.79
4.3.30.0030.0234.55
4.3.20.0030.0234.64
4.3.10.0030.0234.50
4.3.00.0100.0207.12

preferences:
56.91 ms | 401 KiB | 5 Q