3v4l.org

run code in 300+ PHP versions simultaneously
<pre><?php $incoming_usernames = array(); $username = 'Bob "Dillan'; # array_push($incoming_usernames["incoming_friendship_request"], $username); $incoming_usernames['incoming_friendship_request'] = $username; $array_string = serialize($incoming_usernames); var_dump($array_string); ?> </pre>

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.00716.63
8.3.50.0100.00821.92
8.3.40.0040.01518.63
8.3.30.0090.00619.21
8.3.20.0000.00720.34
8.3.10.0050.00323.68
8.3.00.0050.00322.52
8.2.180.0070.00718.16
8.2.170.0130.00722.96
8.2.160.0070.01020.35
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0100.00326.16
8.2.120.0040.00422.12
8.2.110.0030.00622.20
8.2.100.0090.00317.91
8.2.90.0040.00419.26
8.2.80.0080.00018.03
8.2.70.0000.00817.63
8.2.60.0000.00818.05
8.2.50.0090.00018.07
8.2.40.0050.00319.38
8.2.30.0040.00417.99
8.2.20.0000.00817.60
8.2.10.0020.00517.60
8.2.00.0050.00317.66
8.1.280.0140.00025.92
8.1.270.0090.00023.84
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.60
8.1.230.0040.00719.10
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00617.35
8.1.190.0040.00417.41
8.1.180.0080.00018.10
8.1.170.0060.00318.56
8.1.160.0090.00021.79
8.1.150.0040.00418.57
8.1.140.0040.00417.44
8.1.130.0030.00317.81
8.1.120.0000.00717.42
8.1.110.0000.00717.39
8.1.100.0000.00717.41
8.1.90.0000.00717.29
8.1.80.0000.00717.29
8.1.70.0030.00317.26
8.1.60.0060.00317.50
8.1.50.0000.00817.43
8.1.40.0040.00417.49
8.1.30.0030.00617.52
8.1.20.0000.00817.62
8.1.10.0070.00017.57
8.1.00.0080.00017.52
8.0.300.0060.00318.77
8.0.290.0040.00417.05
8.0.280.0000.00818.42
8.0.270.0040.00417.30
8.0.260.0000.00716.74
8.0.250.0030.00316.81
8.0.240.0030.00316.93
8.0.230.0040.00416.93
8.0.220.0000.00616.84
8.0.210.0040.00416.69
8.0.200.0000.00716.91
8.0.190.0040.00416.84
8.0.180.0030.00316.92
8.0.170.0080.00016.84
8.0.160.0000.00716.77
8.0.150.0000.00816.84
8.0.140.0070.00016.61
8.0.130.0000.00613.21
8.0.120.0080.00016.80
8.0.110.0040.00416.76
8.0.100.0080.00016.91
8.0.90.0070.00016.84
8.0.80.0060.01316.80
8.0.70.0040.00416.64
8.0.60.0050.00316.84
8.0.50.0070.00016.70
8.0.30.0110.01017.01
8.0.20.0100.00917.40
8.0.10.0030.00517.00
8.0.00.0080.01216.79
7.4.330.0000.00515.13
7.4.320.0060.00016.34
7.4.300.0030.00316.49
7.4.290.0000.00716.54
7.4.280.0000.00716.52
7.4.270.0040.00416.58
7.4.260.0040.00416.54
7.4.250.0060.00316.45
7.4.240.0050.00216.46
7.4.230.0070.00016.55
7.4.220.0140.00716.39
7.4.210.0090.00816.50
7.4.200.0000.00716.61
7.4.190.0060.00316.64
7.4.160.0030.01316.59
7.4.150.0040.01317.40
7.4.140.0050.01517.86
7.4.130.0140.00416.53
7.4.120.0100.00816.50
7.4.110.0170.00016.39
7.4.100.0090.00916.39
7.4.90.0080.01116.57
7.4.80.0090.00919.39
7.4.70.0030.01316.48
7.4.60.0100.00716.31
7.4.50.0030.00616.34
7.4.40.0060.00922.77
7.4.30.0090.00916.41
7.4.00.0090.00614.61
7.3.330.0000.00613.23
7.3.320.0050.00013.09
7.3.310.0030.00316.26
7.3.300.0040.00416.29
7.3.290.0110.00316.28
7.3.280.0090.00816.27
7.3.270.0140.00717.40
7.3.260.0070.01016.22
7.3.250.0090.01016.25
7.3.240.0140.00316.21
7.3.230.0140.00716.49
7.3.210.0120.00616.30
7.3.200.0120.00319.39
7.3.190.0150.00816.62
7.3.180.0090.00616.43
7.3.170.0130.00416.44
7.3.160.0100.01016.37
7.3.120.0070.00714.77
7.3.10.0080.00416.65
7.3.00.0040.01116.88
7.2.330.0120.00916.63
7.2.320.0120.00416.45
7.2.310.0030.01316.55
7.2.300.0100.00716.70
7.2.290.0130.00316.76
7.2.130.0060.00316.95
7.2.120.0040.00816.91
7.2.110.0000.00816.90
7.2.100.0060.01016.53
7.2.90.0060.00316.91
7.2.80.0050.00517.01
7.2.70.0070.00717.05
7.2.60.0060.00316.96
7.2.50.0030.01017.00
7.2.40.0040.00416.92
7.2.30.0110.00816.64
7.2.20.0100.00316.63
7.2.10.0000.01116.80
7.2.00.0130.00316.88
7.1.250.0060.00615.98
7.1.70.0100.00617.05
7.1.60.0060.01819.29
7.1.50.0030.02016.98
7.1.00.0030.07322.36
7.0.200.0000.00716.60
7.0.140.0030.07321.95
7.0.60.0100.08320.00
7.0.50.0100.08017.81
7.0.40.0030.08320.30
7.0.30.0230.07020.17
7.0.20.0200.04720.09
7.0.10.0070.08720.01
7.0.00.0030.08320.13
5.6.280.0000.07720.88
5.6.210.0130.07320.46
5.6.200.0070.07318.09
5.6.190.0070.08720.27
5.6.180.0130.08020.41
5.6.170.0300.07020.62
5.6.160.0100.04720.32
5.6.150.0100.07718.15
5.6.140.0170.07718.12
5.6.130.0070.07318.14
5.6.120.0070.08321.13
5.6.110.0000.06321.00
5.6.100.0130.08021.00
5.6.90.0030.06320.99
5.6.80.0100.07320.40
5.5.350.0030.08320.41
5.5.340.0070.08317.98
5.5.330.0000.05020.14
5.5.320.0200.04320.17
5.5.310.0270.04320.29
5.5.300.0100.07717.92
5.5.290.0100.08717.97
5.5.280.0000.04320.75
5.5.270.0030.09020.63
5.5.260.0130.07720.63
5.5.250.0070.05320.67
5.5.240.0070.08020.18
5.4.450.0900.04719.43
5.4.440.0700.06319.63
5.4.430.0700.04719.47
5.4.420.0600.06719.23
5.4.410.0570.05019.19
5.4.400.0530.06319.09
5.4.390.0570.06319.15
5.4.380.0030.06318.74
5.4.370.0100.06018.59
5.4.360.0200.04318.55
5.4.350.0130.05318.57
5.4.340.0200.06718.59
5.4.320.0080.03512.45
5.4.310.0030.04712.45
5.4.300.0100.04712.45
5.4.290.0050.04512.45
5.4.280.0070.03512.34
5.4.270.0050.03812.34
5.4.260.0080.04112.34
5.4.250.0050.03812.35
5.4.240.0050.03712.34
5.4.230.0180.04412.32
5.4.220.0230.10112.32
5.4.210.0200.04412.32
5.4.200.0230.07012.32
5.4.190.0210.04012.32
5.4.180.0230.03912.32
5.4.170.0220.04612.33
5.4.160.0190.04312.32
5.4.150.0200.04212.32
5.4.140.0150.04412.00
5.4.130.0290.09211.98
5.4.120.0180.03911.94
5.4.110.0130.04511.94
5.4.100.0180.04211.94
5.4.90.0140.04811.94
5.4.80.0180.04111.94
5.4.70.0160.04911.93
5.4.60.0170.04011.93
5.4.50.0120.04911.93
5.4.40.0170.04211.93
5.4.30.0150.04311.92
5.4.20.0290.06111.93
5.4.10.0190.04011.92
5.4.00.0150.04411.41
5.3.290.0080.03912.80
5.3.280.0160.04512.71
5.3.270.0180.04912.73
5.3.260.0130.04812.72
5.3.250.0160.04512.72
5.3.240.0160.04512.72
5.3.230.0320.09212.71
5.3.220.0150.04812.68
5.3.210.0140.04812.68
5.3.200.0150.04512.68
5.3.190.0200.04612.68
5.3.180.0210.04712.67
5.3.170.0170.04512.67
5.3.160.0190.04012.67
5.3.150.0130.04812.67
5.3.140.0230.03912.66
5.3.130.0440.07812.66
5.3.120.0170.04612.66
5.3.110.0150.04912.65
5.3.100.0180.04412.12
5.3.90.0150.04612.08
5.3.80.0190.04312.07
5.3.70.0160.04712.07
5.3.60.0110.05012.07
5.3.50.0190.04612.00
5.3.40.0190.04412.00
5.3.30.0170.04911.94
5.3.20.0210.05011.71
5.3.10.0370.05711.67
5.3.00.0160.04511.65
5.2.170.0140.0359.15
5.2.160.0110.0369.16
5.2.150.0170.0349.16
5.2.140.0170.0329.16
5.2.130.0120.0359.12
5.2.120.0170.0329.12
5.2.110.0130.0379.13
5.2.100.0140.0369.12
5.2.90.0160.0319.12
5.2.80.0110.0399.11
5.2.70.0100.0379.11
5.2.60.0120.0369.07
5.2.50.0210.0319.04
5.2.40.0130.0359.01
5.2.30.0140.0328.98
5.2.20.0110.0398.98
5.2.10.0100.0378.90
5.2.00.0150.0358.76
5.1.60.0110.0288.04
5.1.50.0180.0238.04
5.1.40.0240.0478.03
5.1.30.0100.0358.37
5.1.20.0140.0308.40
5.1.10.0100.0338.12
5.1.00.0120.0318.11
5.0.50.0070.0276.60
5.0.40.0220.0406.46
5.0.30.0120.0326.27
5.0.20.0100.0226.25
5.0.10.0110.0206.22
5.0.00.0080.0396.21
4.4.90.0180.0384.77
4.4.80.0060.0184.76
4.4.70.0100.0204.75
4.4.60.0060.0214.75
4.4.50.0070.0194.77
4.4.40.0060.0324.70
4.4.30.0120.0174.76
4.4.20.0070.0194.85
4.4.10.0270.0664.85
4.4.00.0100.0314.76
4.3.110.0080.0194.67
4.3.100.0080.0194.66
4.3.90.0120.0144.64
4.3.80.0090.0274.58
4.3.70.0040.0214.63
4.3.60.0360.0524.62
4.3.50.0090.0184.63
4.3.40.0090.0284.54
4.3.30.0060.0193.29
4.3.20.0050.0183.27
4.3.10.0080.0143.23
4.3.00.0130.03013.14

preferences:
41.62 ms | 401 KiB | 5 Q