3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = array('0' => ['Customer Service' => 'Customerservice@sonance.com'], '1' => ['Technical Support' => 'Techsupprt@sonance.com'], '2' => ['Webmaster' => 'webmaster@sonance.com']); echo json_encode($emails);

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.0060.01318.02
8.3.50.0080.00922.05
8.3.40.0110.00318.63
8.3.30.0070.00719.10
8.3.20.0000.00720.18
8.3.10.0040.00422.09
8.3.00.0050.00322.43
8.2.180.0140.00016.50
8.2.170.0100.00322.96
8.2.160.0070.00720.32
8.2.150.0000.00924.18
8.2.140.0150.00024.66
8.2.130.0150.00426.16
8.2.120.0000.00819.82
8.2.110.0060.00322.11
8.2.100.0070.00319.28
8.2.90.0050.00219.21
8.2.80.0050.00319.39
8.2.70.0030.00617.46
8.2.60.0030.00618.04
8.2.50.0000.00818.07
8.2.40.0100.00018.16
8.2.30.0040.00417.96
8.2.20.0040.00417.70
8.2.10.0000.00717.59
8.2.00.0040.00417.59
8.1.280.0070.00725.92
8.1.270.0080.00020.30
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0040.00423.73
8.1.230.0000.01119.16
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0050.00517.23
8.1.190.0040.00417.53
8.1.180.0040.00418.74
8.1.170.0040.00418.50
8.1.160.0030.00322.13
8.1.150.0030.00518.59
8.1.140.0070.00017.41
8.1.130.0070.00017.74
8.1.120.0040.00417.29
8.1.110.0050.00317.27
8.1.100.0050.00217.43
8.1.90.0020.00517.38
8.1.80.0040.00417.26
8.1.70.0050.00317.29
8.1.60.0000.00817.48
8.1.50.0000.00717.45
8.1.40.0050.00217.31
8.1.30.0040.00417.51
8.1.20.0050.00317.63
8.1.10.0030.00617.40
8.1.00.0030.00617.43
8.0.300.0040.00318.77
8.0.290.0000.00817.04
8.0.280.0070.00018.34
8.0.270.0000.00717.28
8.0.260.0060.00016.79
8.0.250.0030.00316.91
8.0.240.0090.00016.93
8.0.230.0000.00716.76
8.0.220.0040.00416.83
8.0.210.0030.00316.71
8.0.200.0000.00616.88
8.0.190.0000.00716.89
8.0.180.0000.00816.83
8.0.170.0070.00016.79
8.0.160.0040.00416.69
8.0.150.0000.00716.77
8.0.140.0020.00516.78
8.0.130.0000.00513.27
8.0.120.0000.00816.80
8.0.110.0030.00516.73
8.0.100.0000.00716.83
8.0.90.0040.00416.76
8.0.80.0090.00616.87
8.0.70.0000.00716.88
8.0.60.0040.00416.75
8.0.50.0000.00716.70
8.0.30.0090.01117.17
8.0.20.0130.00817.40
8.0.10.0000.00716.81
8.0.00.0070.01016.72
7.4.330.0000.00515.00
7.4.320.0030.00316.51
7.4.300.0030.00316.28
7.4.290.0000.00616.52
7.4.280.0030.00316.43
7.4.270.0060.00016.48
7.4.260.0040.00416.30
7.4.250.0030.00316.40
7.4.240.0080.00016.37
7.4.230.0020.00516.22
7.4.220.0160.01016.62
7.4.210.0110.00516.43
7.4.200.0030.00316.57
7.4.190.0070.00016.61
7.4.160.0110.00416.57
7.4.150.0110.00917.40
7.4.140.0070.01317.86
7.4.130.0090.00816.43
7.4.120.0090.01116.46
7.4.110.0060.01216.35
7.4.100.0130.01016.30
7.4.90.0180.00616.31
7.4.80.0120.00719.39
7.4.70.0130.00616.54
7.4.60.0070.01016.50
7.4.50.0030.00516.28
7.4.40.0090.00622.77
7.4.30.0000.01516.47
7.4.00.0120.00514.90
7.3.330.0030.00313.00
7.3.320.0050.00012.84
7.3.310.0050.00216.20
7.3.300.0000.00716.12
7.3.290.0070.00716.20
7.3.280.0080.00816.08
7.3.270.0030.01317.40
7.3.260.0060.01016.37
7.3.250.0150.00516.31
7.3.240.0080.01516.15
7.3.230.0140.00316.39
7.3.210.0080.00816.17
7.3.200.0150.00419.39
7.3.190.0120.00916.27
7.3.180.0140.00616.16
7.3.170.0030.01616.32
7.3.160.0040.01116.24
7.3.120.0050.01014.74
7.3.110.0100.00614.68
7.3.100.0060.01214.57
7.3.90.0060.00314.61
7.3.80.0070.01014.47
7.3.70.0050.00514.70
7.3.60.0060.00314.81
7.3.50.0070.00314.52
7.3.40.0060.00614.45
7.3.30.0070.00314.84
7.3.20.0120.00316.10
7.3.10.0070.00716.22
7.3.00.0000.01316.50
7.2.330.0110.00716.59
7.2.320.0110.00616.47
7.2.310.0100.00816.57
7.2.300.0120.00416.27
7.2.290.0150.00016.57
7.2.250.0000.01914.77
7.2.240.0090.00914.94
7.2.230.0030.01014.98
7.2.220.0040.01114.54
7.2.210.0130.00014.43
7.2.200.0030.01014.94
7.2.190.0040.01114.66
7.2.180.0070.01014.97
7.2.170.0030.00914.20
7.2.160.0000.01114.71
7.2.150.0160.00016.33
7.2.140.0030.01316.53
7.2.130.0070.00716.80
7.2.120.0070.00716.88
7.2.110.0030.01016.86
7.2.100.0080.00516.86
7.2.90.0040.01116.58
7.2.80.0130.00316.77
7.2.70.0040.01216.79
7.2.60.0080.00416.86
7.2.50.0030.00716.87
7.2.40.0030.01316.85
7.2.30.0000.01316.86
7.2.20.0060.00616.89
7.2.10.0040.00416.71
7.2.00.0020.01217.94
7.1.330.0060.01015.84
7.1.320.0090.00915.84
7.1.310.0040.00815.80
7.1.300.0070.00315.64
7.1.290.0060.00315.53
7.1.280.0030.00615.36
7.1.270.0040.01115.52
7.1.260.0040.01215.61
7.1.250.0040.00715.61
7.1.240.0070.00715.40
7.1.230.0080.00815.63
7.1.220.0080.00315.56
7.1.210.0110.00415.83
7.1.200.0060.00915.86
7.1.190.0030.00715.74
7.1.180.0000.00915.90
7.1.170.0060.00615.51
7.1.160.0090.00615.63
7.1.150.0030.01015.50
7.1.140.0000.00815.41
7.1.130.0060.00615.61
7.1.120.0070.00715.79
7.1.110.0070.00315.49
7.1.100.0070.01117.04
7.1.90.0100.00715.79
7.1.80.0030.00715.61
7.1.70.0040.01116.32
7.1.60.0070.00616.40
7.1.50.0070.00816.15
7.1.40.0030.00915.74
7.1.30.0070.00715.60
7.1.20.0130.00015.56
7.1.10.0040.01115.80
7.1.00.0050.01819.10
7.0.330.0130.00315.13
7.0.320.0030.01315.32
7.0.310.0060.00615.34
7.0.300.0040.00715.31
7.0.290.0090.00615.32
7.0.280.0030.01015.09
7.0.270.0080.00315.20
7.0.260.0040.00715.48
7.0.250.0070.00315.17
7.0.240.0040.01115.52
7.0.230.0060.00315.37
7.0.220.0000.01315.11
7.0.210.0000.01415.25
7.0.200.0050.00815.81
7.0.190.0040.00815.23
7.0.180.0080.00815.16
7.0.170.0070.00715.03
7.0.160.0030.00915.45
7.0.150.0070.00715.34
7.0.140.0050.03818.31
7.0.130.0100.00315.17
7.0.120.0080.00015.36
7.0.110.0070.00715.30
7.0.100.0090.00615.10
7.0.90.0490.03017.61
7.0.80.0330.03517.57
7.0.70.0280.02817.48
7.0.60.0360.03917.61
7.0.50.0220.03717.83
7.0.40.0080.03716.79
7.0.30.0030.04216.63
7.0.20.0080.04016.72
7.0.10.0030.03516.83
7.0.00.0020.02916.66
5.6.400.0060.00814.29
5.6.390.0060.01014.64
5.6.380.0060.00914.25
5.6.370.0030.00814.14
5.6.360.0100.00614.50
5.6.350.0060.00314.30
5.6.340.0030.01014.18
5.6.330.0060.00914.07
5.6.320.0060.00614.14
5.6.310.0030.01014.36
5.6.300.0030.01314.27
5.6.290.0040.01214.30
5.6.280.0090.03517.55
5.6.270.0000.01714.60
5.6.260.0030.01413.91
5.6.250.0030.01014.01
5.6.240.0070.04517.43
5.6.230.0060.04117.44
5.6.220.0020.04417.35
5.6.210.0030.04717.46
5.6.200.0050.03317.67
5.6.190.0030.04517.60
5.6.180.0050.04717.49
5.6.170.0040.03417.55
5.6.160.0090.03817.59
5.6.150.0030.04617.66
5.6.140.0010.03617.60
5.6.130.0140.03517.61
5.6.120.0050.02917.66
5.6.110.0090.04417.68
5.6.100.0100.04517.65
5.6.90.0040.03717.63
5.6.80.0070.04217.28
5.6.70.0050.04217.20
5.6.60.0070.03817.40
5.6.50.0100.04017.23
5.6.40.0050.04217.26
5.6.30.0100.03517.31
5.6.20.0100.03617.28
5.6.10.0170.03517.27
5.6.00.0030.04517.20
5.5.380.0170.03317.27
5.5.370.0030.04617.32
5.5.360.0120.03817.15
5.5.350.0060.03517.32
5.5.340.0090.02117.37
5.5.330.0120.03217.54
5.5.320.0080.04017.53
5.5.310.0050.04117.45
5.5.300.0090.03517.56
5.5.290.0060.02917.54
5.5.280.0050.02617.56
5.5.270.0070.04317.57
5.5.260.0050.04617.71
5.5.250.0100.03517.15
5.5.240.0130.01817.38
5.5.230.0080.03317.14
5.5.220.0080.03417.20
5.5.210.0150.02817.03
5.5.200.0020.04317.23
5.5.190.0030.02717.17
5.5.180.0030.04017.18
5.5.170.0060.00614.29
5.5.160.0100.03817.23
5.5.150.0050.02316.99
5.5.140.0090.02016.92
5.5.130.0050.03517.11
5.5.120.0020.03617.33
5.5.110.0130.03817.20
5.5.100.0060.04217.16
5.5.90.0050.03516.92
5.5.80.0110.03217.01
5.5.70.0100.03417.15
5.5.60.0030.04517.17
5.5.50.0050.02817.01
5.5.40.0060.02017.08
5.5.30.0070.02716.86
5.5.20.0080.03317.00
5.5.10.0050.04517.19
5.5.00.0050.04017.16
5.4.450.0080.02315.13
5.4.440.0060.04114.92
5.4.430.0040.04415.04
5.4.420.0080.03515.18
5.4.410.0050.04015.02
5.4.400.0090.02214.80
5.4.390.0090.03714.73
5.4.380.0140.03314.91
5.4.370.0050.03214.90
5.4.360.0050.04014.89
5.4.350.0080.02514.95
5.4.340.0070.02514.98
5.4.330.0000.00910.97
5.4.320.0030.04014.93
5.4.310.0030.02814.93
5.4.300.0080.03314.96
5.4.290.0050.03814.97
5.4.280.0070.03714.95
5.4.270.0050.04014.71
5.4.260.0030.02414.82
5.4.250.0020.04414.82
5.4.240.0040.02614.80
5.4.230.0050.04214.99
5.4.220.0020.03514.80
5.4.210.0080.02515.03
5.4.200.0080.03914.90
5.4.190.0030.03014.86
5.4.180.0030.02514.71
5.4.170.0080.03514.97
5.4.160.0130.03814.99
5.4.150.0070.03014.95
5.4.140.0100.03513.58
5.4.130.0020.04013.58
5.4.120.0070.03513.47
5.4.110.0030.03913.65
5.4.100.0080.01813.75
5.4.90.0020.02713.63
5.4.80.0070.03313.64
5.4.70.0080.02613.56
5.4.60.0070.03213.68
5.4.50.0070.03513.51
5.4.40.0060.03813.66
5.4.30.0050.02613.68
5.4.20.0050.04013.63
5.4.10.0070.03713.56
5.4.00.0100.02413.27
5.3.290.0030.04312.30
5.3.280.0070.02312.24
5.3.270.0030.02812.38
5.3.260.0070.03512.30
5.3.250.0020.02912.39
5.3.240.0020.04412.33
5.3.230.0100.03512.34
5.3.220.0030.04512.29
5.3.210.0050.04012.21
5.3.200.0080.02512.27
5.3.190.0060.02812.34
5.3.180.0090.03412.35
5.3.170.0030.04212.42
5.3.160.0040.04112.39
5.3.150.0100.03612.47
5.3.140.0070.03912.37
5.3.130.0080.03512.44
5.3.120.0000.02812.38
5.3.110.0080.02712.37
5.3.100.0110.02312.06
5.3.90.0010.04412.10
5.3.80.0050.03012.13
5.3.70.0050.03311.93
5.3.60.0030.04111.99
5.3.50.0070.04012.03
5.3.40.0060.03512.02
5.3.30.0070.03411.98
5.3.20.0070.02711.91
5.3.10.0000.04311.82
5.3.00.0050.02411.70
5.2.170.0130.05311.14
5.2.160.0030.06011.16
5.2.150.0070.06311.14
5.2.140.0100.06011.09
5.2.130.0000.06011.09
5.2.120.0070.05311.07
5.2.110.0030.06311.17
5.2.100.0100.05311.14
5.2.90.0100.05311.15
5.2.80.0000.04311.10
5.2.70.0070.06311.13
5.2.60.0070.05710.89
5.2.50.0030.03711.00
5.2.40.0100.05010.97
5.2.30.0100.05710.82
5.2.20.0070.03711.00
5.2.10.0030.06310.79
5.2.00.0030.05710.61
5.1.60.0000.0579.99
5.1.50.0000.05310.03
5.1.40.0230.0279.82
5.1.30.0070.05010.41
5.1.20.0030.05310.40
5.1.10.0030.05310.07
5.1.00.0030.05710.08
5.0.50.0000.0478.53
5.0.40.0070.0408.43
5.0.30.0030.0638.27
5.0.20.0030.0338.20
5.0.10.0030.0378.15
5.0.00.0000.0438.14
4.4.90.0000.0307.15
4.4.80.0030.0277.15
4.4.70.0070.0137.15
4.4.60.0000.0307.15
4.4.50.0100.0277.15
4.4.40.0030.0337.15
4.4.30.0070.0277.15
4.4.20.0030.0277.15
4.4.10.0030.0337.15
4.4.00.0070.0507.15
4.3.110.0030.0377.15
4.3.100.0030.0337.15
4.3.90.0100.0277.15
4.3.80.0000.0437.15
4.3.70.0070.0307.15
4.3.60.0100.0177.15
4.3.50.0000.0177.15
4.3.40.0030.0237.15
4.3.30.0000.0177.15
4.3.20.0030.0207.15
4.3.10.0000.0237.15
4.3.00.0030.0207.15

preferences:
45.24 ms | 401 KiB | 5 Q