3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array["a"] = "Foo"; $array["b"] = "Bar"; $array["c"] = "Baz"; $array["d"] = "Wom"; $str = serialize($array); $strenc = urlencode($str); print $str . "\n"; print $strenc . "\n"; ?>

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.0090.00618.58
8.3.30.0140.00019.12
8.3.20.0040.00420.34
8.3.10.0000.00723.65
8.3.00.0080.00021.01
8.2.170.0110.00622.96
8.2.160.0100.00722.11
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0070.00019.66
8.2.110.0000.00820.28
8.2.100.0070.00417.97
8.2.90.0060.00617.72
8.2.80.0040.00417.97
8.2.70.0030.00618.03
8.2.60.0030.00618.34
8.2.50.0030.00618.10
8.2.40.0000.00819.29
8.2.30.0080.00019.23
8.2.20.0050.00217.67
8.2.10.0040.00418.11
8.2.00.0080.00017.75
8.1.270.0210.00018.87
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.87
8.1.230.0030.00919.01
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0050.00317.35
8.1.180.0030.00718.10
8.1.170.0000.00720.77
8.1.160.0050.00219.04
8.1.150.0000.00718.88
8.1.140.0000.00717.30
8.1.130.0000.00817.81
8.1.120.0030.00317.39
8.1.110.0030.00517.28
8.1.100.0050.00317.26
8.1.90.0000.00717.28
8.1.80.0000.00717.32
8.1.70.0030.00317.38
8.1.60.0000.01017.55
8.1.50.0000.00817.34
8.1.40.0030.00617.34
8.1.30.0000.00817.53
8.1.20.0000.00717.61
8.1.10.0000.00817.52
8.1.00.0000.00817.48
8.0.300.0000.00821.52
8.0.290.0070.00016.63
8.0.280.0000.00818.31
8.0.270.0080.00017.24
8.0.260.0000.00617.16
8.0.250.0030.00316.96
8.0.240.0000.00716.97
8.0.230.0030.00316.87
8.0.220.0000.00716.88
8.0.210.0030.00516.90
8.0.200.0030.00316.93
8.0.190.0040.00416.97
8.0.180.0000.00816.88
8.0.170.0060.00316.90
8.0.160.0000.00716.77
8.0.150.0040.00416.82
8.0.140.0070.00016.82
8.0.130.0000.00813.21
8.0.120.0040.00416.84
8.0.110.0040.00416.72
8.0.100.0040.00416.90
8.0.90.0000.00716.78
8.0.80.0140.00416.95
8.0.70.0040.00416.92
8.0.60.0040.00417.00
8.0.50.0050.00216.71
8.0.30.0080.01117.01
8.0.20.0130.00817.40
8.0.10.0040.00416.84
8.0.00.0070.01116.82
7.4.330.0050.00015.03
7.4.320.0030.00316.56
7.4.300.0060.00016.45
7.4.290.0080.00016.42
7.4.280.0040.00416.34
7.4.270.0030.00316.45
7.4.260.0030.00316.42
7.4.250.0000.00816.36
7.4.240.0000.00716.50
7.4.230.0070.00016.53
7.4.220.0130.01016.33
7.4.210.0120.00916.53
7.4.200.0000.00716.63
7.4.160.0130.00316.36
7.4.150.0050.01617.40
7.4.140.0090.00817.86
7.4.130.0120.00816.51
7.4.120.0080.00816.56
7.4.110.0120.00816.33
7.4.100.0070.01016.27
7.4.90.0070.01016.45
7.4.80.0130.00619.39
7.4.70.0160.00316.56
7.4.60.0150.00016.39
7.4.50.0000.00916.41
7.4.40.0030.01316.48
7.4.30.0070.01016.63
7.4.00.0090.00714.88
7.3.330.0030.00313.02
7.3.320.0000.00713.04
7.3.310.0000.00716.09
7.3.300.0030.00316.21
7.3.290.0090.00716.26
7.3.280.0120.00616.27
7.3.270.0160.00017.40
7.3.260.0100.01416.23
7.3.250.0120.00916.34
7.3.240.0110.01116.19
7.3.230.0120.00616.39
7.3.210.0080.00816.45
7.3.200.0070.01019.39
7.3.190.0060.00916.24
7.3.180.0120.00616.60
7.3.170.0090.01016.39
7.3.160.0060.01016.28
7.3.120.0030.01515.05
7.3.110.0090.00914.66
7.3.100.0100.00715.04
7.3.90.0110.00015.07
7.3.80.0030.01314.97
7.3.70.0080.00414.80
7.3.60.0060.01014.84
7.3.50.0060.00314.91
7.3.40.0030.01014.80
7.3.30.0030.01014.78
7.3.20.0080.00316.73
7.3.10.0070.01016.65
7.3.00.0030.01316.66
7.2.330.0090.00916.70
7.2.320.0030.01516.55
7.2.310.0060.00916.33
7.2.300.0100.00616.78
7.2.290.0070.01616.76
7.2.250.0070.01014.96
7.2.240.0070.00715.00
7.2.230.0000.01815.13
7.2.220.0060.00615.20
7.2.210.0030.01514.92
7.2.200.0040.01115.16
7.2.190.0060.00615.18
7.2.180.0030.00614.80
7.2.170.0040.00714.91
7.2.60.0100.00616.93
7.2.00.0070.00719.43
7.1.330.0030.01215.55
7.1.320.0030.00915.62
7.1.310.0090.00915.68
7.1.300.0000.01415.88
7.1.290.0040.00815.57
7.1.280.0110.00415.51
7.1.270.0060.00315.49
7.1.260.0060.00615.89
7.1.200.0030.01015.86
7.1.100.0810.00311.92
7.1.70.0030.00317.19
7.1.60.0060.01619.22
7.1.50.0090.01216.92
7.1.00.0030.07322.31
7.0.200.0040.00416.88
7.0.140.0030.05722.00
7.0.110.0570.08319.93
7.0.100.0570.07020.07
7.0.90.0430.04019.98
7.0.80.0370.07719.91
7.0.70.0470.08320.06
7.0.60.0370.06019.68
7.0.50.0430.04019.99
7.0.40.0100.03019.79
7.0.30.0070.03719.80
7.0.20.0130.03019.73
7.0.10.0030.03719.78
7.0.00.0100.03319.70
5.6.280.0070.07020.77
5.6.260.0100.06020.65
5.6.250.0070.05020.59
5.6.240.0030.08020.84
5.6.230.0100.07720.55
5.6.220.0030.08320.55
5.6.210.0130.05020.62
5.6.200.0100.07720.68
5.6.190.0030.04320.61
5.6.180.0030.08320.63
5.6.170.0130.08020.54
5.6.160.0070.03320.65
5.6.150.0030.04320.56
5.6.140.0100.03320.54
5.6.130.0000.04720.56
5.6.120.0100.03720.53
5.6.110.0100.03020.59
5.6.100.0070.03720.66
5.6.90.0100.03020.59
5.6.80.0030.03720.02
5.6.70.0030.03719.98
5.6.60.0000.04720.00
5.6.50.0070.03020.00
5.6.40.0030.04020.03
5.6.30.0000.03720.19
5.6.20.0030.03720.05
5.6.10.0000.03719.94
5.6.00.0100.02719.96
5.5.380.0070.03717.58
5.5.370.0100.06317.50
5.5.360.0100.07317.62
5.5.350.0070.04317.46
5.5.340.0070.04018.25
5.5.330.0000.06717.99
5.5.320.0070.08717.85
5.5.310.0100.06318.13
5.5.300.0000.03718.09
5.5.290.0070.03317.89
5.5.280.0030.04717.76
5.5.270.0070.04018.16
5.5.260.0000.04717.99
5.5.250.0030.03317.83
5.5.240.0000.03317.48
5.5.230.0030.04017.26
5.5.220.0030.03317.22
5.5.210.0070.03317.24
5.5.200.0070.03017.21
5.5.190.0070.03017.51
5.5.180.0100.02717.49
5.5.160.0070.03017.23
5.5.150.0000.03317.44
5.5.140.0000.03317.33
5.5.130.0030.03317.50
5.5.120.0000.03317.46
5.5.110.0070.03717.59
5.5.100.0030.03017.12
5.5.90.0100.02717.11
5.5.80.0030.03017.23
5.5.70.0100.03717.00
5.5.60.0030.03317.36
5.5.50.0000.03317.49
5.5.40.0000.04017.34
5.5.30.0030.03017.34
5.5.20.0030.03017.09
5.5.10.0030.04017.50
5.5.00.0000.04317.37
5.4.450.0030.05019.33
5.4.440.0000.04019.32
5.4.430.0030.03319.26
5.4.420.0100.03319.29
5.4.410.0030.03319.45
5.4.400.0030.03019.14
5.4.390.0070.03018.98
5.4.380.0030.03719.08
5.4.370.0000.03319.03
5.4.360.0030.03719.23
5.4.350.0070.03319.12
5.4.340.0100.02719.14
5.4.320.0030.03018.93
5.4.310.0030.03319.11
5.4.300.0000.03318.94
5.4.290.0000.03319.01
5.4.280.0000.03319.14
5.4.270.0000.03319.08
5.4.260.0100.02719.25
5.4.250.0100.03018.89
5.4.240.0000.03318.92
5.4.230.0030.03719.14
5.4.220.0000.03719.02
5.4.210.0070.03019.14
5.4.200.0070.03319.08
5.4.190.0030.03319.22
5.4.180.0070.02719.02
5.4.170.0100.02719.07
5.4.160.0070.03318.92
5.4.150.0100.03019.23
5.4.140.0000.03316.50
5.4.130.0070.02716.20
5.4.120.0000.03316.21
5.4.110.0000.03316.34
5.4.100.0030.03716.22
5.4.90.0000.03716.29
5.4.80.0030.06716.36
5.4.70.0030.06716.36
5.4.60.0070.06716.16
5.4.50.0030.03716.24
5.4.40.0000.05316.54
5.4.30.0130.05016.25
5.4.20.0070.05316.15
5.4.10.0030.05316.33
5.4.00.0070.03015.67
5.3.290.0030.03314.54
5.3.280.0030.03014.65
5.3.270.0000.03314.47
5.3.260.0000.03714.39
5.3.250.0100.02314.70
5.3.240.0000.04714.62
5.3.230.0030.03314.47
5.3.220.0000.05314.49
5.3.210.0030.03014.39
5.3.200.0030.03714.45
5.3.190.0130.02714.51
5.3.180.0100.06014.41
5.3.170.0030.08014.50
5.3.160.0100.05014.49
5.3.150.0030.07714.48
5.3.140.0030.04014.65
5.3.130.0030.03714.49
5.3.120.0030.06714.34
5.3.110.0070.03314.49
5.3.100.0070.06713.98
5.3.90.0030.06014.08
5.3.80.0070.03013.95
5.3.70.0030.07013.89
5.3.60.0100.03013.93
5.3.50.0070.06313.96
5.3.40.0100.03713.82
5.3.30.0070.05713.83
5.3.20.0030.05013.58
5.3.10.0030.03313.71
5.3.00.0100.07013.70
5.2.170.0000.03012.71
5.2.160.0070.02312.71
5.2.150.0000.03012.71
5.2.140.0070.06012.71
5.2.130.0070.05712.71
5.2.120.0070.02312.71
5.2.110.0000.06012.71
5.2.100.0030.04312.71
5.2.90.0000.03312.71
5.2.80.0000.03012.71
5.2.70.0030.02712.71
5.2.60.0000.03712.71
5.2.50.0130.01712.71
5.2.40.0070.03712.71
5.2.30.0000.03012.71
5.2.20.0000.03012.71
5.2.10.0030.03312.71
5.2.00.0000.03712.71
5.1.60.0030.05012.71
5.1.50.0030.02312.71
5.1.40.0070.05012.71
5.1.30.0070.04012.71
5.1.20.0030.02312.71
5.1.10.0100.05012.71
5.1.00.0030.06012.71
5.0.50.0130.03712.71
5.0.40.0000.03712.71
5.0.30.0000.06712.71
5.0.20.0000.02012.71
5.0.10.0030.04312.71
5.0.00.0030.05012.71
4.4.90.0000.03312.71
4.4.80.0000.01712.71
4.4.70.0070.03012.71
4.4.60.0000.02712.71
4.4.50.0070.02712.71
4.4.40.0000.03312.71
4.4.30.0030.01312.71
4.4.20.0000.01712.71
4.4.10.0000.01312.71
4.4.00.0030.04312.71
4.3.110.0030.01312.71
4.3.100.0030.01312.71
4.3.90.0000.03712.71
4.3.80.0000.05012.71
4.3.70.0070.03312.71
4.3.60.0000.02712.71
4.3.50.0000.01712.71
4.3.40.0000.02312.71
4.3.30.0000.03012.71
4.3.20.0000.03012.71
4.3.10.0030.02712.71
4.3.00.0000.01312.71

preferences:
51.13 ms | 400 KiB | 5 Q