3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode(array( // Men's Casual 3 => array( 's' => 2, 'm' => 10, 'l' => 10, 'xl' => 10, 'xxl' => 2, 'xxxl' => 2, ), // Men's Technical 4 => array( 's' => 3, 'm' => 14, 'l' => 18, 'xl' => 11, 'xxl' => 3, 'xxxl' => 2, ), // Women's Technical 5 => array( 'xs' => 2, 's' => 10, 'm' => 15, 'l' => 9, 'xl' => 3, 'xxl' => 2, ), // Women's Casual 8 => array( 's' => 2, 'm' => 5, 'l' => 5, 'xl' => 2, ), ));

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.0140.00018.43
8.3.50.0100.01021.92
8.3.40.0110.00418.84
8.3.30.0030.01218.68
8.3.20.0040.00420.28
8.3.10.0000.00823.67
8.3.00.0000.00718.98
8.2.180.0140.00718.04
8.2.170.0070.00722.96
8.2.160.0130.00722.07
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00819.43
8.2.110.0090.00020.96
8.2.100.0040.00817.59
8.2.90.0000.00819.64
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0080.00017.91
8.2.50.0080.00018.10
8.2.40.0050.00319.34
8.2.30.0080.00019.18
8.2.20.0040.00417.48
8.2.10.0000.00717.91
8.2.00.0000.00917.54
8.1.280.0110.00425.92
8.1.270.0130.00318.78
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01022.47
8.1.230.0090.00320.69
8.1.220.0000.01217.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0060.00317.30
8.1.180.0000.00818.10
8.1.170.0040.00420.67
8.1.160.0040.00418.86
8.1.150.0040.00418.75
8.1.140.0000.00717.20
8.1.130.0000.00717.75
8.1.120.0030.00317.22
8.1.110.0040.00417.36
8.1.100.0040.00417.21
8.1.90.0000.00717.29
8.1.80.0040.00417.36
8.1.70.0070.00017.29
8.1.60.0030.00517.45
8.1.50.0040.00717.28
8.1.40.0050.00317.43
8.1.30.0000.00817.55
8.1.20.0000.00717.43
8.1.10.0050.00217.35
8.1.00.0050.00217.31
8.0.300.0040.00419.87
8.0.290.0040.00416.63
8.0.280.0070.00018.28
8.0.270.0000.00717.23
8.0.260.0060.00018.37
8.0.250.0030.00316.95
8.0.240.0040.00416.87
8.0.230.0040.00416.80
8.0.220.0070.00016.77
8.0.210.0060.00016.77
8.0.200.0070.00016.75
8.0.190.0080.00016.88
8.0.180.0030.00316.80
8.0.170.0040.00416.70
8.0.160.0000.00716.81
8.0.150.0090.00016.61
8.0.140.0060.00316.77
8.0.130.0000.00613.16
8.0.120.0080.00016.66
8.0.110.0020.00516.71
8.0.100.0000.00716.57
8.0.90.0040.00416.87
8.0.80.0070.01016.80
8.0.70.0000.00716.72
8.0.60.0000.00816.58
8.0.50.0080.00016.79
8.0.30.0070.01617.01
8.0.20.0120.00717.40
8.0.10.0040.00416.75
8.0.00.0070.01016.65
7.4.330.0050.00015.03
7.4.320.0020.00516.49
7.4.300.0030.00316.46
7.4.290.0040.00416.37
7.4.280.0000.00716.41
7.4.270.0030.00316.44
7.4.260.0090.00316.38
7.4.250.0000.00816.43
7.4.240.0000.00716.44
7.4.230.0000.00616.25
7.4.220.0130.00716.47
7.4.210.0060.01316.51
7.4.200.0000.00816.35
7.4.160.0110.00416.40
7.4.150.0090.00917.40
7.4.140.0100.00817.86
7.4.130.0100.00716.35
7.4.120.0110.00516.37
7.4.110.0070.01016.18
7.4.100.0090.00916.34
7.4.90.0100.01016.47
7.4.80.0040.01519.39
7.4.70.0040.01516.25
7.4.60.0060.01016.35
7.4.50.0060.00316.18
7.4.40.0000.01616.39
7.4.30.0070.01516.49
7.4.10.0080.01116.47
7.4.00.0070.00915.56
7.3.330.0000.00513.05
7.3.320.0020.00212.93
7.3.310.0000.00816.09
7.3.300.0000.00716.14
7.3.290.0060.00916.11
7.3.280.0070.00916.17
7.3.270.0070.01617.40
7.3.260.0030.01316.28
7.3.250.0050.01316.24
7.3.240.0070.01016.48
7.3.230.0130.00916.39
7.3.210.0030.01316.20
7.3.200.0110.00619.39
7.3.190.0060.01216.38
7.3.180.0110.00716.51
7.3.170.0030.01616.35
7.3.160.0120.00316.22
7.3.130.0150.00416.27
7.3.120.0080.01015.36
7.3.110.0070.00715.53
7.3.100.0080.00815.64
7.3.90.0050.01215.43
7.3.80.0100.00515.45
7.3.70.0090.00515.39
7.3.60.0100.00515.41
7.3.50.0030.01215.38
7.3.40.0060.00915.32
7.3.30.0050.01015.39
7.3.20.0030.01217.35
7.3.10.0050.00816.95
7.3.00.0090.00417.05
7.2.330.0080.00816.21
7.2.320.0060.01216.50
7.2.310.0030.01316.41
7.2.300.0130.00316.30
7.2.290.0090.01216.53
7.2.260.0130.00716.43
7.2.250.0000.01716.49
7.2.240.0050.01115.67
7.2.230.0080.00915.62
7.2.220.0040.01115.44
7.2.210.0100.00515.53
7.2.200.0090.00615.62
7.2.190.0060.00915.46
7.2.180.0070.00415.49
7.2.170.0050.00815.60
7.2.160.0050.00815.60
7.2.150.0070.00717.35
7.2.140.0070.00917.65
7.2.130.0060.00917.18
7.2.120.0080.00917.22
7.2.110.0040.00917.27
7.2.100.0040.00817.10
7.2.90.0070.00717.24
7.2.80.0090.00717.16
7.2.70.0040.01117.24
7.2.60.0110.00417.02
7.2.50.0050.01017.33
7.2.40.0070.00817.38
7.2.30.0050.00817.13
7.2.20.0050.00917.26
7.2.10.0090.00417.16
7.2.00.0050.00917.79
7.1.330.0040.01016.64
7.1.320.0060.00816.55
7.1.310.0030.01116.53
7.1.300.0030.01016.47
7.1.290.0040.01116.31
7.1.280.0040.01016.36
7.1.270.0080.00816.32
7.1.260.0040.00916.38
7.1.250.0060.00616.25
7.1.240.0130.00317.28
7.1.230.0070.00317.01
7.1.220.0040.01116.98
7.1.210.0090.00617.02
7.1.200.0070.00716.25
7.1.190.0100.00617.15
7.1.180.0040.01117.28
7.1.170.0000.01317.20
7.1.160.0100.00617.22
7.1.150.0040.00817.29
7.1.140.0120.00417.17
7.1.130.0070.00717.18
7.1.120.0070.00717.26
7.1.110.0030.01017.01
7.1.100.0060.00717.65
7.1.90.0030.01417.24
7.1.80.0040.01117.07
7.1.70.0040.00617.08
7.1.60.0070.01218.10
7.1.50.0130.00416.69
7.1.40.0130.00016.94
7.1.30.0000.01617.32
7.1.20.0080.00417.24
7.1.10.0060.01017.19
7.1.00.0050.04319.78
7.0.330.0000.00916.98
7.0.320.0000.01517.07
7.0.310.0110.00416.84
7.0.300.0080.00416.82
7.0.290.0100.00316.84
7.0.280.0070.00716.86
7.0.270.0000.01617.03
7.0.260.0060.00316.74
7.0.250.0070.00717.11
7.0.240.0060.00616.77
7.0.230.0070.00716.65
7.0.220.0100.00317.04
7.0.210.0090.00316.75
7.0.200.0040.00716.68
7.0.190.0030.00616.89
7.0.180.0040.00716.93
7.0.170.0040.01116.65
7.0.160.0080.00416.89
7.0.150.0040.01116.99
7.0.140.0040.04019.59
7.0.130.0090.00317.05
7.0.120.0060.00917.02
7.0.110.0000.01116.86
7.0.100.0030.01216.98
7.0.90.0250.03918.38
7.0.80.0320.04418.46
7.0.70.0260.02318.21
7.0.60.0270.02718.37
7.0.50.0300.04418.53
7.0.40.0030.05017.43
7.0.30.0100.04017.48
7.0.20.0060.02517.49
7.0.10.0020.02817.38
7.0.00.0100.04617.43
5.6.400.0060.01215.83
5.6.390.0040.01115.86
5.6.380.0100.00615.79
5.6.370.0030.01315.97
5.6.360.0040.00715.63
5.6.350.0040.01515.84
5.6.340.0070.00715.61
5.6.330.0000.01515.75
5.6.320.0070.00715.87
5.6.310.0070.00715.97
5.6.300.0110.00715.47
5.6.290.0100.00715.42
5.6.280.0070.03818.42
5.6.270.0030.00715.82
5.6.260.0070.00915.73
5.6.250.0040.01115.78
5.6.240.0050.04718.20
5.6.230.0080.04018.09
5.6.220.0030.04018.21
5.6.210.0070.03318.19
5.6.200.0030.05218.34
5.6.190.0060.02318.33
5.6.180.0050.04818.40
5.6.170.0080.03318.39
5.6.160.0080.04618.45
5.6.150.0070.04518.33
5.6.140.0120.03618.39
5.6.130.0100.04418.30
5.6.120.0070.03018.46
5.6.110.0040.02918.42
5.6.100.0050.04518.37
5.6.90.0050.04118.49
5.6.80.0070.04118.03
5.6.70.0080.03318.08
5.6.60.0110.03718.08
5.6.50.0080.04018.05
5.6.40.0100.02317.99
5.6.30.0040.03317.99
5.6.20.0070.03718.01
5.6.10.0130.03717.97
5.6.00.0120.03318.03
5.5.380.0070.03218.13
5.5.370.0130.03617.93
5.5.360.0050.02517.94
5.5.350.0040.04617.94
5.5.340.0110.03818.35
5.5.330.0130.03318.33
5.5.320.0090.04518.22
5.5.310.0080.02518.29
5.5.300.0070.04318.07
5.5.290.0100.04018.30
5.5.280.0070.04518.23
5.5.270.0120.03518.18
5.5.260.0060.03618.29
5.5.250.0090.02518.04
5.5.240.0090.03317.89
5.5.230.0050.02717.88
5.5.220.0080.02817.71
5.5.210.0110.04217.85
5.5.200.0030.04117.90
5.5.190.0030.03017.87
5.5.180.0100.03717.92
5.5.170.0030.01015.66
5.5.160.0100.03717.90
5.5.150.0050.02717.81
5.5.140.0080.04017.90
5.5.130.0050.03817.91
5.5.120.0080.03417.86
5.5.110.0020.03517.78
5.5.100.0020.04017.75
5.5.90.0030.03217.89
5.5.80.0050.02617.85
5.5.70.0100.04017.90
5.5.60.0020.04817.83
5.5.50.0030.03817.70
5.5.40.0110.02617.70
5.5.30.0000.02917.66
5.5.20.0070.02717.72
5.5.10.0070.02817.79
5.5.00.0050.03417.79
5.4.450.0060.04215.87
5.4.440.0050.02615.75
5.4.430.0070.04115.94
5.4.420.0090.03915.96
5.4.410.0090.03715.77
5.4.400.0050.03715.58
5.4.390.0000.04315.69
5.4.380.0020.04115.60
5.4.370.0080.03815.62
5.4.360.0080.04015.76
5.4.350.0030.04215.73
5.4.340.0100.03715.59
5.4.330.0060.00012.27
5.4.320.0070.04015.66
5.4.310.0030.04415.55
5.4.300.0100.04015.70
5.4.290.0030.04415.69
5.4.280.0060.04115.50
5.4.270.0030.04515.63
5.4.260.0080.03015.68
5.4.250.0070.04015.64
5.4.240.0050.02915.62
5.4.230.0120.02815.71
5.4.220.0050.03615.60
5.4.210.0080.03815.57
5.4.200.0030.04315.67
5.4.190.0100.03515.59
5.4.180.0050.04115.79
5.4.170.0090.03915.67
5.4.160.0020.03315.64
5.4.150.0050.04115.54
5.4.140.0040.04114.27
5.4.130.0020.02714.39
5.4.120.0080.02214.18
5.4.110.0030.02114.39
5.4.100.0030.02414.24
5.4.90.0030.02414.30
5.4.80.0070.02014.21
5.4.70.0080.01814.32
5.4.60.0030.02314.21
5.4.50.0020.02414.25
5.4.40.0060.01614.26
5.4.30.0070.01314.25
5.4.20.0020.02414.25
5.4.10.0050.04014.35
5.4.00.0020.02214.09
5.3.290.0230.06014.65
5.3.280.0200.05714.53
5.3.270.0100.07714.54
5.3.260.0070.07014.54
5.3.250.0170.07014.56
5.3.240.0100.04714.45
5.3.230.0070.07714.58
5.3.220.0100.03014.52
5.3.210.0000.04314.42
5.3.200.0070.04014.43
5.3.190.0030.03714.57
5.3.180.0030.05714.42
5.3.170.0000.04014.55
5.3.160.0070.03714.57
5.3.150.0070.03314.42
5.3.140.0030.04014.50
5.3.130.0000.04014.53
5.3.120.0000.04014.50
5.3.110.0070.06014.46
5.3.100.0030.05313.90
5.3.90.0100.07014.00
5.3.80.0030.03313.87
5.3.70.0030.04014.01
5.3.60.0000.04313.75
5.3.50.0070.07013.85
5.3.40.0100.03013.95
5.3.30.0030.03713.84
5.3.20.0030.05313.46
5.3.10.0070.03013.51
5.3.00.0000.03713.49
5.2.170.0000.04011.10
5.2.160.0000.03011.10
5.2.150.0000.03011.10
5.2.140.0070.03011.13
5.2.130.0070.05011.05
5.2.120.0030.02311.02
5.2.110.0000.03011.09
5.2.100.0000.04311.05
5.2.90.0030.02311.05
5.2.80.0000.03010.91
5.2.70.0000.03011.09
5.2.60.0000.04310.87
5.2.50.0030.03011.02
5.2.40.0030.02711.02
5.2.30.0030.02711.04
5.2.20.0070.02310.95
5.2.10.0030.03310.79
5.2.00.0030.02710.78
5.1.60.0070.0209.97
5.1.50.0000.04010.00
5.1.40.0000.0279.85
5.1.30.0000.02710.26
5.1.20.0130.04010.42
5.1.10.0030.02310.09
5.1.00.0030.04010.16
5.0.50.0100.0378.58
5.0.40.0000.0208.24
5.0.30.0030.0338.25
5.0.20.0000.0208.04
5.0.10.0030.0238.17
5.0.00.0030.0308.25
4.4.90.0000.0237.35
4.4.80.0000.0177.35
4.4.70.0000.0277.35
4.4.60.0030.0177.35
4.4.50.0000.0177.35
4.4.40.0000.0277.35
4.4.30.0030.0137.35
4.4.20.0000.0177.35
4.4.10.0030.0177.35
4.4.00.0070.0207.35
4.3.110.0000.0177.35
4.3.100.0000.0237.35
4.3.90.0000.0177.35
4.3.80.0000.0307.35
4.3.70.0030.0137.35
4.3.60.0000.0137.35
4.3.50.0030.0137.35
4.3.40.0030.0277.35
4.3.30.0000.0177.35
4.3.20.0000.0177.35
4.3.10.0000.0137.35
4.3.00.0000.0137.35

preferences:
57.17 ms | 401 KiB | 5 Q