3v4l.org

run code in 300+ PHP versions simultaneously
<?php $auto[0] = array('36','HOLLAND'); $auto[1] = array('15','Aanvalluhhh!!!'); print_r($auto[0][0]); if ( isset( $auto ) ) { foreach ( $auto as $diam ) { // here you have access to $diam['top'] and $diam['bottom'] echo '[0] = ', $diam[0], PHP_EOL; } } ?>

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.40.0150.00618.79
8.3.30.0090.00619.27
8.3.20.0050.00220.04
8.3.10.0040.00423.51
8.3.00.0060.00617.71
8.2.170.0150.00022.96
8.2.160.0090.00620.35
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0050.00322.29
8.2.110.0080.00022.16
8.2.100.0120.00017.78
8.2.90.0070.00019.29
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0050.00318.16
8.2.50.0000.00818.07
8.2.40.0080.00019.85
8.2.30.0000.00720.02
8.2.20.0050.00317.80
8.2.10.0040.00418.12
8.2.00.0020.00517.73
8.1.270.0040.00422.20
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0040.00423.82
8.1.230.0110.00019.11
8.1.220.0060.00317.76
8.1.210.0040.00418.77
8.1.200.0000.00917.13
8.1.190.0040.00417.36
8.1.180.0060.00318.10
8.1.170.0000.00818.56
8.1.160.0040.00421.95
8.1.150.0050.00218.53
8.1.140.0000.00817.30
8.1.130.0000.00717.64
8.1.120.0000.00717.40
8.1.110.0000.00717.27
8.1.100.0040.00417.43
8.1.90.0070.00017.39
8.1.80.0000.00817.30
8.1.70.0070.00017.27
8.1.60.0040.00417.49
8.1.50.0050.00317.30
8.1.40.0080.00017.50
8.1.30.0040.00417.50
8.1.20.0040.00417.46
8.1.10.0040.00417.56
8.1.00.0040.00417.37
8.0.300.0050.00318.90
8.0.290.0080.00017.18
8.0.280.0000.00718.49
8.0.270.0030.00317.21
8.0.260.0030.00317.16
8.0.250.0030.00616.87
8.0.240.0040.00416.95
8.0.230.0070.00016.92
8.0.220.0000.00716.88
8.0.210.0070.00016.86
8.0.200.0000.00616.92
8.0.190.0040.00416.89
8.0.180.0050.00316.84
8.0.170.0050.00316.78
8.0.160.0000.00716.91
8.0.150.0030.00516.82
8.0.140.0040.00416.76
8.0.130.0030.00313.28
8.0.120.0050.00516.79
8.0.110.0040.00416.75
8.0.100.0020.00516.67
8.0.90.0070.00016.72
8.0.80.0110.01116.84
8.0.70.0000.00716.81
8.0.60.0050.00316.85
8.0.50.0000.00716.88
8.0.30.0080.01117.03
8.0.20.0120.00717.40
8.0.10.0070.00016.98
8.0.00.0130.00716.68
7.4.330.0030.00315.05
7.4.320.0000.00616.52
7.4.300.0060.00016.51
7.4.290.0000.00716.57
7.4.280.0030.00516.50
7.4.270.0050.00216.52
7.4.260.0040.00416.59
7.4.250.0000.00716.44
7.4.240.0040.00416.42
7.4.230.0030.00516.48
7.4.220.0110.00616.55
7.4.210.0090.00616.54
7.4.200.0000.00716.41
7.4.190.0040.00416.64
7.4.160.0100.00816.62
7.4.150.0100.00917.40
7.4.140.0100.00817.86
7.4.130.0140.00716.44
7.4.120.0070.01016.63
7.4.110.0100.00716.48
7.4.100.0030.01616.51
7.4.90.0040.01416.30
7.4.80.0100.01319.39
7.4.70.0060.01316.41
7.4.60.0100.00716.48
7.4.50.0030.00516.33
7.4.40.0030.01416.30
7.4.30.0060.01516.69
7.4.00.0090.00614.77
7.3.330.0030.00313.27
7.3.320.0040.00413.06
7.3.310.0030.00316.27
7.3.300.0000.00716.35
7.3.290.0300.00616.44
7.3.280.0070.00916.30
7.3.270.0070.01017.40
7.3.260.0070.01116.39
7.3.250.0100.00916.55
7.3.240.0070.01016.47
7.3.230.0070.01016.39
7.3.210.0070.01016.54
7.3.200.0090.01319.39
7.3.190.0170.00016.36
7.3.180.0060.00916.57
7.3.170.0070.01416.30
7.3.160.0100.00616.49
7.3.120.0060.00915.83
7.3.110.0090.00715.76
7.3.100.0040.00815.89
7.3.90.0040.00915.80
7.3.80.0030.00815.84
7.3.70.0060.00815.90
7.3.60.0070.00515.80
7.3.50.0050.00715.88
7.3.40.0040.00915.74
7.3.30.0030.00815.84
7.3.20.0070.00816.83
7.3.10.0080.00416.79
7.3.00.0070.00716.77
7.2.330.0000.02216.43
7.2.320.0090.00916.68
7.2.310.0050.01416.56
7.2.300.0070.01016.50
7.2.290.0070.01016.68
7.2.240.0030.01115.88
7.2.230.0030.01115.83
7.2.220.0080.00516.03
7.2.210.0050.01315.92
7.2.200.0080.00615.81
7.2.190.0020.00916.00
7.2.180.0050.00915.86
7.2.170.0070.00715.81
7.2.160.0070.00815.88
7.2.150.0030.01016.95
7.2.140.0060.00716.97
7.2.130.0090.00716.85
7.2.120.0050.00816.94
7.2.110.0090.00516.83
7.2.100.0090.00316.86
7.2.90.0080.00716.99
7.2.80.0060.00816.96
7.2.70.0100.00316.93
7.2.60.0030.00916.92
7.2.50.0050.00816.95
7.2.40.0080.00516.88
7.2.30.0060.00616.90
7.2.20.0030.01216.92
7.2.10.0050.00816.76
7.2.00.0090.00417.03
7.1.330.0030.00916.33
7.1.320.0060.00516.19
7.1.310.0050.00616.23
7.1.300.0060.00616.27
7.1.290.0050.00916.38
7.1.280.0120.00316.31
7.1.270.0080.00716.33
7.1.260.0070.00716.35
7.1.250.0090.00516.40
7.1.200.0030.01015.64
7.1.70.0000.00817.37
7.1.60.0090.01619.46
7.1.50.0040.01116.67
7.1.00.0070.07322.30
7.0.200.0040.00416.61
7.0.140.0030.07322.04
7.0.60.0030.04019.81
7.0.50.0070.03717.79
7.0.40.0070.05320.23
7.0.30.0270.03720.20
7.0.20.0370.03720.13
7.0.10.0100.07720.13
7.0.00.0030.04020.18
5.6.280.0100.06720.80
5.6.210.0030.05720.61
5.6.200.0100.08318.21
5.6.190.0070.04320.77
5.6.180.0200.04020.77
5.6.170.0170.05320.61
5.6.160.0000.06020.51
5.6.150.0030.04718.21
5.6.140.0170.07718.16
5.6.130.0100.03318.12
5.6.120.0170.07720.98
5.6.110.0000.08020.98
5.6.100.0070.04020.86
5.6.90.0100.08320.89
5.6.80.0200.07020.39
5.6.70.0070.07720.36
5.5.350.0270.07320.38
5.5.340.0100.05017.91
5.5.330.0070.04020.25
5.5.320.0270.04020.29
5.5.310.0300.07720.28
5.5.300.0100.08018.02
5.5.290.0100.07718.01
5.5.280.0100.08020.77
5.5.270.0070.07720.86
5.5.260.0200.07020.97
5.5.250.0030.08320.46
5.5.240.0230.04020.18
5.4.450.0130.05719.14
5.4.440.0170.07719.48
5.4.430.0170.05019.47
5.4.420.0170.05019.47
5.4.410.0100.05319.39
5.4.400.0100.05319.15
5.4.390.0130.05319.35
5.4.380.0230.05718.77
5.4.370.0130.05318.50
5.4.360.0200.04718.77
5.4.350.0100.06018.65
5.4.340.0230.05018.70
5.4.320.0040.03912.45
5.4.310.0080.03712.45
5.4.300.0080.04212.45
5.4.290.0050.04212.44
5.4.280.0040.03812.33
5.4.270.0060.03712.33
5.4.260.0060.03812.34
5.4.250.0060.03812.33
5.4.240.0040.03912.33
5.4.230.0050.03912.33
5.4.220.0090.03512.32
5.4.210.0100.03212.32
5.4.200.0080.03612.32
5.4.190.0050.03812.32
5.4.180.0040.03812.32
5.4.170.0070.03612.33
5.4.160.0050.03812.33
5.4.150.0080.03512.32
5.4.140.0070.04412.01
5.4.130.0060.04812.00
5.4.120.0110.04611.96
5.4.110.0070.05211.95
5.4.100.0150.04711.95
5.4.90.0100.05011.95
5.4.80.0080.05411.96
5.4.70.0090.03511.95
5.4.60.0090.04711.95
5.4.50.0060.04511.95
5.4.40.0060.04211.94
5.4.30.0060.03511.93
5.4.20.0050.03811.94
5.4.10.0050.03511.93
5.4.00.0050.03711.42
5.3.290.0090.03512.80
5.3.280.0050.03812.71
5.3.270.0070.04112.72
5.3.260.0120.04012.72
5.3.250.0070.05612.72
5.3.240.0070.04312.72
5.3.230.0050.04012.71
5.3.220.0090.03512.68
5.3.210.0090.03912.68
5.3.200.0060.05412.68
5.3.190.0120.04112.68
5.3.180.0120.03512.68
5.3.170.0070.03812.67
5.3.160.0070.03912.67
5.3.150.0060.04012.67
5.3.140.0100.03812.66
5.3.130.0060.05612.66
5.3.120.0060.04012.66
5.3.110.0120.05712.65
5.3.100.0060.04512.11
5.3.90.0090.04412.08
5.3.80.0060.05212.08
5.3.70.0040.05412.07
5.3.60.0100.03712.07
5.3.50.0070.03812.00
5.3.40.0040.03912.00
5.3.30.0100.03411.94
5.3.20.0080.03411.72
5.3.10.0070.03511.69
5.3.00.0050.04211.68
5.2.170.0020.0349.18
5.2.160.0080.0309.18
5.2.150.0070.0419.18
5.2.140.0060.0509.17
5.2.130.0050.0639.13
5.2.120.0110.0539.14
5.2.110.0090.0329.14
5.2.100.0100.0359.14
5.2.90.0040.0319.14
5.2.80.0050.0319.13
5.2.70.0040.0369.14
5.2.60.0030.0339.09
5.2.50.0050.0319.06
5.2.40.0080.0299.03
5.2.30.0050.0359.01
5.2.20.0110.0449.00
5.2.10.0060.0318.92
5.2.00.0050.0318.78
5.1.60.0060.0248.06
5.1.50.0030.0278.05
5.1.40.0040.0268.04
5.1.30.0040.0278.39
5.1.20.0060.0268.41
5.1.10.0050.0288.14
5.1.00.0050.0268.14
5.0.50.0060.0186.61
5.0.40.0040.0296.47
5.0.30.0050.0436.29
5.0.20.0050.0406.26
5.0.10.0060.0276.23
5.0.00.0050.0406.23
4.4.90.0020.0284.78
4.4.80.0020.0164.76
4.4.70.0040.0154.75
4.4.60.0020.0174.75
4.4.50.0030.0154.77
4.4.40.0030.0254.71
4.4.30.0030.0154.76
4.4.20.0030.0194.84
4.4.10.0050.0174.85
4.4.00.0030.0254.76
4.3.110.0040.0154.66
4.3.100.0030.0154.67
4.3.90.0070.0194.63
4.3.80.0050.0274.58
4.3.70.0010.0174.63
4.3.60.0020.0154.62
4.3.50.0030.0154.63
4.3.40.0010.0284.54
4.3.30.0030.0203.28
4.3.20.0040.0193.26
4.3.10.0030.0203.22
4.3.00.0070.0177.02

preferences:
46.36 ms | 400 KiB | 5 Q