3v4l.org

run code in 300+ PHP versions simultaneously
<?php $amountOfSubAltImages = 28; for($i = 0; $i < $amountOfSubAltImages; $i++) { $subImg_infoContainer[$i] = array(); } //Create the empty structure of the array template to fill with image data debug($subImg_infoContainer); for($i = 0; $i < $amountOfSubAltImages; $i++) { //0 = IMG_URL //1 = WIDTH //2 = HEIGHT //3 = ALT //4 = FIGCAP var_dump($subImg_infoContainer); $subImg_infoContainer[$i] = array(0 => $subImgUrls[$i], 1 => $subImgWidths[$i], 2 => $subImgHeights[$i], 3 => $subImgAltTxts[$i], 4 => $subImgFigCaps[$i]); }

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.0170.00316.63
8.3.50.0110.00621.89
8.3.40.0150.00318.92
8.3.30.0120.00319.09
8.3.20.0050.00320.29
8.3.10.0040.00423.48
8.3.00.0040.00420.60
8.2.180.0090.01316.88
8.2.170.0140.00722.96
8.2.160.0100.00320.39
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.18
8.2.110.0100.00022.16
8.2.100.0000.01117.78
8.2.90.0000.00919.27
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0030.00619.48
8.2.50.0050.00318.07
8.2.40.0050.00319.88
8.2.30.0070.00018.25
8.2.20.0000.00819.53
8.2.10.0040.00417.93
8.2.00.0030.00517.75
8.1.280.0130.00325.92
8.1.270.0030.00623.79
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0040.00423.69
8.1.230.0040.00719.16
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0060.00617.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0040.00418.34
8.1.160.0040.00421.90
8.1.150.0050.00218.64
8.1.140.0000.00717.29
8.1.130.0030.00317.82
8.1.120.0070.00017.41
8.1.110.0050.00517.37
8.1.100.0000.00717.38
8.1.90.0000.00717.38
8.1.80.0040.00417.42
8.1.70.0000.00717.30
8.1.60.0000.00817.53
8.1.50.0020.00517.48
8.1.40.0040.00417.41
8.1.30.0040.00417.61
8.1.20.0040.00417.62
8.1.10.0000.00717.56
8.1.00.0000.00717.50
8.0.300.0040.00418.77
8.0.290.0080.00017.05
8.0.280.0030.00318.40
8.0.270.0070.00017.06
8.0.260.0030.00317.14
8.0.250.0040.00416.98
8.0.240.0080.00016.86
8.0.230.0030.00316.82
8.0.220.0070.00016.77
8.0.210.0000.00716.78
8.0.200.0000.00716.83
8.0.190.0000.00816.98
8.0.180.0050.00216.79
8.0.170.0000.00816.92
8.0.160.0050.00316.77
8.0.150.0000.00716.92
8.0.140.0040.00416.88
8.0.130.0050.00013.27
8.0.120.0040.00416.83
8.0.110.0080.00016.82
8.0.100.0080.00016.86
8.0.90.0040.00416.76
8.0.80.0070.00716.76
8.0.70.0040.00416.75
8.0.60.0050.00316.74
8.0.50.0070.00016.73
8.0.30.0090.00916.92
8.0.20.0130.00617.40
8.0.10.0040.00417.08
8.0.00.0100.01216.46
7.4.330.0000.00515.08
7.4.320.0030.00316.50
7.4.300.0000.00616.62
7.4.290.0000.00716.53
7.4.280.0030.00616.63
7.4.270.0000.00716.58
7.4.260.0040.00416.64
7.4.250.0050.00316.49
7.4.240.0050.00216.52
7.4.230.0070.00016.50
7.4.220.0000.01916.54
7.4.210.0090.00416.58
7.4.200.0030.00316.68
7.4.190.0070.00016.64
7.4.160.0140.00416.55
7.4.150.0090.01217.40
7.4.140.0110.01017.86
7.4.130.0060.01116.56
7.4.120.0140.00516.48
7.4.110.0110.01116.54
7.4.100.0140.00316.40
7.4.90.0140.00316.41
7.4.80.0090.00919.39
7.4.70.0120.00416.47
7.4.60.0100.00716.44
7.4.50.0040.00416.37
7.4.40.0030.01916.56
7.4.30.0040.01216.66
7.4.10.0170.00314.91
7.4.00.0080.00914.94
7.3.330.0030.00313.29
7.3.320.0000.00513.38
7.3.310.0000.00716.46
7.3.300.0070.00016.41
7.3.290.0000.01316.38
7.3.280.0110.00816.41
7.3.270.0090.01517.40
7.3.260.0060.01216.37
7.3.250.0040.01316.42
7.3.240.0060.01616.63
7.3.230.0100.00716.39
7.3.210.0140.01016.41
7.3.200.0120.00619.39
7.3.190.0090.00916.40
7.3.180.0130.00316.32
7.3.170.0170.00016.61
7.3.160.0060.01216.57
7.3.130.0030.00915.00
7.3.120.0080.00914.92
7.3.110.0070.01014.70
7.3.100.0050.01214.78
7.3.90.0100.00514.90
7.3.80.0090.00714.89
7.3.70.0060.01014.91
7.3.60.0050.00714.83
7.3.50.0060.00914.84
7.3.40.0080.00614.88
7.3.30.0060.00714.85
7.3.20.0070.00616.74
7.3.10.0080.00516.61
7.3.00.0060.00816.71
7.2.330.0070.01016.69
7.2.320.0090.01016.70
7.2.310.0140.01016.52
7.2.300.0040.01316.54
7.2.290.0100.00716.61
7.2.260.0060.01315.08
7.2.250.0090.01014.86
7.2.240.0090.00915.02
7.2.230.0040.00814.98
7.2.220.0060.00914.93
7.2.210.0040.01214.88
7.2.200.0090.00814.90
7.2.190.0030.00914.95
7.2.180.0090.00714.93
7.2.170.0060.01014.91
7.2.160.0050.00914.88
7.2.150.0080.00716.91
7.2.140.0080.00816.84
7.2.130.0070.00916.67
7.2.120.0070.00716.83
7.2.110.0050.01116.87
7.2.100.0080.00816.80
7.2.90.0090.00916.87
7.2.80.0070.00816.87
7.2.70.0070.00816.88
7.2.60.0070.00416.72
7.2.50.0070.00716.83
7.2.40.0060.00916.81
7.2.30.0020.01516.78
7.2.20.0080.00816.92
7.2.10.0050.00616.89
7.2.00.0030.01017.79
7.1.330.0070.00715.67
7.1.320.0060.00915.81
7.1.310.0060.00815.79
7.1.300.0070.00815.71
7.1.290.0040.01215.67
7.1.280.0050.00815.67
7.1.270.0060.00715.60
7.1.260.0060.00815.71
7.1.250.0030.01015.56
7.1.240.0030.01115.72
7.1.230.0080.00615.49
7.1.220.0080.00515.49
7.1.210.0050.00915.64
7.1.200.0040.00715.74
7.1.190.0080.00715.67
7.1.180.0070.01015.73
7.1.170.0080.00315.67
7.1.160.0030.01215.73
7.1.150.0090.00315.71
7.1.140.0050.00515.59
7.1.130.0060.00915.81
7.1.120.0020.01415.69
7.1.110.0080.00715.85
7.1.100.0070.00716.60
7.1.90.0040.00715.70
7.1.80.0060.00815.76
7.1.70.0070.00316.24
7.1.60.0070.00916.90
7.1.50.0050.01116.17
7.1.40.0050.00815.73
7.1.30.0090.00515.60
7.1.20.0050.00715.60
7.1.10.0050.01115.86
7.1.00.0030.03317.87
7.0.330.0000.01115.27
7.0.320.0030.00615.43
7.0.310.0120.00315.19
7.0.300.0020.00815.24
7.0.290.0020.01215.13
7.0.280.0090.00315.30
7.0.270.0050.01015.36
7.0.260.0050.00715.30
7.0.250.0050.00615.37
7.0.240.0050.00915.34
7.0.230.0030.00715.34
7.0.220.0080.00815.30
7.0.210.0110.00115.30
7.0.200.0040.00615.90
7.0.190.0070.00915.17
7.0.180.0030.01115.12
7.0.170.0050.00715.05
7.0.160.0070.00715.44
7.0.150.0040.00815.27
7.0.140.0070.02617.62
7.0.130.0050.00715.18
7.0.120.0020.01115.35
7.0.110.0060.00515.23
7.0.100.0050.00715.30
7.0.90.0050.00815.25
7.0.80.0040.00815.42
7.0.70.0030.00815.41
7.0.60.0050.03516.79
7.0.50.0060.02316.26
7.0.40.0020.02015.61
7.0.30.0150.02315.69
7.0.20.0120.02515.65
7.0.10.0080.01815.59
7.0.00.0040.01715.58
5.6.400.0080.00714.54
5.6.390.0030.01014.39
5.6.380.0050.01014.31
5.6.370.0050.00814.28
5.6.360.0070.00514.48
5.6.350.0040.01114.32
5.6.340.0060.00814.62
5.6.330.0040.00914.23
5.6.320.0060.00614.57
5.6.310.0060.00814.46
5.6.300.0030.00914.52
5.6.290.0000.01114.41
5.6.280.0040.03416.60
5.6.270.0050.00714.44
5.6.260.0060.00914.49
5.6.250.0060.00714.29
5.6.240.0020.01014.20
5.6.230.0060.00714.31
5.6.220.0100.00714.33
5.6.210.0030.03116.46
5.6.200.0060.02915.52
5.6.190.0090.01916.28
5.6.180.0170.02616.24
5.6.170.0110.02116.39
5.6.160.0040.03716.33
5.6.150.0070.03215.60
5.6.140.0070.03115.64
5.6.130.0060.01915.60
5.6.120.0130.02716.65
5.6.110.0070.02116.46
5.6.100.0040.03416.56
5.6.90.0110.02516.49
5.6.80.0030.03316.29
5.6.70.0050.00714.20
5.6.60.0080.00614.04
5.6.50.0050.01014.27
5.6.40.0030.01114.35
5.6.30.0070.01014.29
5.6.20.0080.00614.27
5.6.10.0050.00814.40
5.6.00.0060.00614.21
5.5.380.0070.00614.05
5.5.370.0080.00514.08
5.5.360.0040.00914.27
5.5.350.0160.02416.26
5.5.340.0070.02315.39
5.5.330.0080.03016.19
5.5.320.0120.03216.20
5.5.310.0230.02516.19
5.5.300.0040.03115.45
5.5.290.0080.03115.38
5.5.280.0070.02416.48
5.5.270.0070.03116.39
5.5.260.0070.02916.47
5.5.250.0070.01716.27
5.5.240.0170.02416.21
5.5.230.0080.00514.34
5.5.220.0050.00814.38
5.5.210.0070.00614.18
5.5.200.0030.00714.12
5.5.190.0060.00814.18
5.5.180.0050.00814.31
5.5.170.0070.00714.13
5.5.160.0050.00714.19
5.5.150.0050.00814.13
5.5.140.0040.00914.03
5.5.130.0040.01014.33
5.5.120.0090.00614.21
5.5.110.0050.01014.16
5.5.100.0060.00513.94
5.5.90.0050.00814.09
5.5.80.0030.00814.09
5.5.70.0020.01214.04
5.5.60.0070.00714.04
5.5.50.0030.01113.96
5.5.40.0100.00414.06
5.5.30.0030.00714.14
5.5.20.0060.00614.15
5.5.10.0090.00614.07
5.5.00.0060.00614.15
5.4.450.0170.01413.81
5.4.440.0080.01713.75
5.4.430.0330.02313.72
5.4.420.0280.02613.73
5.4.410.0250.02113.70
5.4.400.0400.02513.58
5.4.390.0370.02513.58
5.4.380.0090.02113.50
5.4.370.0080.02113.56
5.4.360.0090.01913.32
5.4.350.0070.02413.59
5.4.340.0060.02113.46
5.4.330.0060.00210.99
5.4.320.0040.01711.44
5.4.310.0030.01711.32
5.4.300.0040.02011.46
5.4.290.0050.01711.45
5.4.280.0060.01611.51
5.4.270.0050.01711.39
5.4.260.0050.01811.45
5.4.250.0060.01411.31
5.4.240.0060.01611.41
5.4.230.0020.02211.44
5.4.220.0040.02011.42
5.4.210.0070.01511.29
5.4.200.0060.01511.37
5.4.190.0060.02111.42
5.4.180.0080.01511.29
5.4.170.0060.01811.30
5.4.160.0070.01611.30
5.4.150.0040.01911.46
5.4.140.0060.01511.13
5.4.130.0060.01611.33
5.4.120.0060.01811.23
5.4.110.0040.02411.41
5.4.100.0040.01911.27
5.4.90.0050.01711.32
5.4.80.0080.01511.27
5.4.70.0040.01711.32
5.4.60.0040.01511.31
5.4.50.0060.01411.22
5.4.40.0050.01511.23
5.4.30.0070.01511.34
5.4.20.0040.02111.28
5.4.10.0060.02011.13
5.4.00.0040.02210.98
5.3.290.0040.01711.35
5.3.280.0050.02211.22
5.3.270.0040.02311.24
5.3.260.0060.01511.31
5.3.250.0050.01511.22
5.3.240.0060.01511.10
5.3.230.0040.02111.13
5.3.220.0030.01811.22
5.3.210.0030.01911.15
5.3.200.0030.01711.12
5.3.190.0060.01811.26
5.3.180.0040.01711.31
5.3.170.0030.02611.26
5.3.160.0060.01511.21
5.3.150.0070.02411.21
5.3.140.0060.02111.29
5.3.130.0040.02411.26
5.3.120.0080.01611.26
5.3.110.0040.02311.23
5.3.100.0050.02310.99
5.3.90.0060.02411.08
5.3.80.0040.01810.88
5.3.70.0060.01611.00
5.3.60.0040.01810.97
5.3.50.0050.02010.94
5.3.40.0040.02210.93
5.3.30.0050.02110.92
5.3.20.0040.02310.80
5.3.10.0060.02110.77
5.3.00.0040.02410.67
5.2.170.0040.0459.19
5.2.160.0070.0419.19
5.2.150.0110.0439.19
5.2.140.0100.0429.18
5.2.130.0140.0489.14
5.2.120.0160.0679.14
5.2.110.0220.0569.15
5.2.100.0060.0439.15
5.2.90.0050.0359.15
5.2.80.0040.0329.15
5.2.70.0040.0319.15
5.2.60.0020.0329.10
5.2.50.0080.0269.06
5.2.40.0040.0309.04
5.2.30.0060.0359.02
5.2.20.0050.0319.01
5.2.10.0030.0318.93
5.2.00.0040.0318.79
5.1.60.0040.0258.08
5.1.50.0050.0248.07
5.1.40.0060.0238.05
5.1.30.0070.0288.40
5.1.20.0090.0378.43
5.1.10.0070.0258.15
5.1.00.0020.0308.15
5.0.50.0040.0216.63
5.0.40.0070.0166.49
5.0.30.0050.0316.30
5.0.20.0020.0226.27
5.0.10.0050.0196.25
5.0.00.0030.0316.25
4.4.90.0040.0154.78
4.4.80.0040.0154.75
4.4.70.0020.0174.76
4.4.60.0040.0154.76
4.4.50.0040.0174.77
4.4.40.0050.0324.71
4.4.30.0040.0234.76
4.4.20.0050.0144.84
4.4.10.0040.0204.85
4.4.00.0040.0354.75
4.3.110.0040.0234.66
4.3.100.0060.0204.67
4.3.90.0050.0214.64
4.3.80.0010.0354.59
4.3.70.0070.0314.63
4.3.60.0030.0194.63
4.3.50.0080.0334.63
4.3.40.0040.0344.54
4.3.30.0040.0483.29
4.3.20.0030.0223.27
4.3.10.0020.0433.23
4.3.00.0030.01711.58

preferences:
42.02 ms | 401 KiB | 5 Q