3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(base64_decode("\x0YW55dGhpbmc=", true)); var_dump(base64_decode("YW55dGhpbmc=\x0", true));

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.0070.01018.08
8.3.50.0090.00917.74
8.3.40.0110.00418.46
8.3.30.0070.00718.42
8.3.20.0040.00419.09
8.3.10.0040.00421.81
8.3.00.0040.00419.14
8.2.180.0090.00625.92
8.2.170.0180.00018.66
8.2.160.0030.01022.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0050.00317.68
8.2.120.0030.00626.35
8.2.110.0000.00820.36
8.2.100.0120.00017.72
8.2.90.0050.00518.00
8.2.80.0040.00417.97
8.2.70.0090.00017.50
8.2.60.0000.00717.93
8.2.50.0080.00018.09
8.2.40.0080.00022.32
8.2.30.0000.00719.23
8.2.20.0020.00517.59
8.2.10.0000.00717.98
8.2.00.0000.00717.79
8.1.280.0080.00825.92
8.1.270.0040.00424.66
8.1.260.0030.00628.09
8.1.250.0030.00528.09
8.1.240.0030.00622.14
8.1.230.0080.00420.77
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0000.00817.23
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0030.00618.53
8.1.160.0000.00720.50
8.1.150.0040.00418.74
8.1.140.0050.00319.35
8.1.130.0070.00017.45
8.1.120.0050.00217.39
8.1.110.0000.00817.19
8.1.100.0000.00717.34
8.1.90.0000.00717.31
8.1.80.0000.00717.17
8.1.70.0030.00317.21
8.1.60.0040.00417.43
8.1.50.0000.00817.37
8.1.40.0040.00417.27
8.1.30.0000.00917.45
8.1.20.0030.00517.48
8.1.10.0050.00317.31
8.1.00.0060.00317.19
8.0.300.0030.00520.07
8.0.290.0040.00416.63
8.0.280.0000.00718.32
8.0.270.0000.00816.64
8.0.260.0030.00317.05
8.0.250.0030.00316.73
8.0.240.0000.00716.82
8.0.230.0070.00016.84
8.0.220.0040.00416.78
8.0.210.0030.00316.66
8.0.200.0000.00716.77
8.0.190.0050.00316.86
8.0.180.0000.00916.81
8.0.170.0080.00016.82
8.0.160.0040.00416.80
8.0.150.0000.00816.73
8.0.140.0070.00316.62
8.0.130.0060.00013.22
8.0.120.0040.00416.68
8.0.110.0070.00016.61
8.0.100.0050.00316.73
8.0.90.0000.00716.71
8.0.80.0090.00616.68
8.0.70.0080.00016.73
8.0.60.0080.00016.82
8.0.50.0040.00416.82
8.0.30.0050.01017.02
8.0.20.0110.01017.40
8.0.10.0070.00016.73
8.0.00.0120.00616.63
7.4.330.0050.00015.08
7.4.320.0000.00616.45
7.4.300.0030.00316.50
7.4.290.0000.00716.46
7.4.280.0030.00516.37
7.4.270.0030.00316.42
7.4.260.0030.00616.27
7.4.250.0030.00316.31
7.4.240.0070.00016.32
7.4.230.0000.00716.24
7.4.220.0000.00616.57
7.4.210.0070.00816.40
7.4.200.0000.00616.36
7.4.160.0060.00916.39
7.4.150.0150.00417.40
7.4.140.0090.00917.86
7.4.130.0050.01216.19
7.4.120.0100.00716.46
7.4.110.0040.01416.20
7.4.100.0150.00816.34
7.4.90.0110.00616.36
7.4.80.0090.01219.39
7.4.70.0120.01216.40
7.4.60.0060.00916.19
7.4.50.0070.00716.27
7.4.40.0120.01216.24
7.4.30.0110.00416.46
7.4.00.0140.00314.53
7.3.330.0050.00013.11
7.3.320.0050.00012.91
7.3.310.0000.00816.05
7.3.300.0040.00415.97
7.3.290.0120.00416.12
7.3.280.0100.00916.10
7.3.270.0070.01017.40
7.3.260.0110.00816.34
7.3.250.0110.00616.17
7.3.240.0070.01016.21
7.3.230.0100.01316.39
7.3.210.0070.01016.41
7.3.200.0100.00716.39
7.3.190.0090.00916.17
7.3.180.0130.00316.34
7.3.170.0030.01316.43
7.3.160.0090.00616.26
7.2.330.0170.00016.26
7.2.320.0090.00916.35
7.2.310.0100.00716.48
7.2.300.0040.01216.24
7.2.290.0100.00716.24
7.2.60.0030.00916.85
7.1.200.0170.00315.06
7.1.100.0110.00418.05
7.1.70.0000.01417.04
7.1.60.0130.01019.85
7.1.50.0040.02116.70
7.1.00.0070.06722.42
7.0.200.0190.00414.63
7.0.60.0130.06019.83
7.0.50.0200.05320.28
7.0.40.0230.05320.28
7.0.30.0270.05720.35
7.0.20.0070.07320.41
7.0.10.0200.05720.29
7.0.00.0200.06020.27
5.6.280.0000.07720.81
5.6.210.0070.06320.55
5.6.200.0270.04721.05
5.6.190.0270.05021.05
5.6.180.0100.06320.96
5.6.170.0330.04321.04
5.6.160.0170.05321.05
5.6.150.0200.06021.15
5.6.140.0370.05721.01
5.6.130.0370.05721.04
5.6.120.0630.06321.11
5.6.110.0470.06021.14
5.6.100.0400.06021.17
5.6.90.0370.06721.15
5.6.80.0470.05020.58
5.6.70.0470.05720.43
5.6.60.0300.06020.42
5.6.50.0570.09320.42
5.6.40.0400.04320.38
5.6.30.0300.05720.41
5.6.20.0600.07720.41
5.6.10.0530.05720.39
5.6.00.0400.04720.39
5.5.350.0100.06320.46
5.5.340.0200.05321.04
5.5.330.0170.05720.92
5.5.320.0070.06720.68
5.5.310.0170.06021.02
5.5.300.0470.04721.02
5.5.290.0530.05320.86
5.5.280.0300.05720.73
5.5.270.0430.05720.85
5.5.260.0370.07720.68
5.5.250.0330.06720.76
5.5.240.0530.04720.28
5.5.230.0470.05320.12
5.5.220.0330.05320.18
5.5.210.0300.05720.21
5.5.200.0430.05320.03
5.5.190.0330.05320.30
5.5.180.0430.05720.07
5.5.160.0330.06720.38
5.5.150.0230.06020.14
5.5.140.0400.04720.14
5.5.130.0070.05720.19
5.5.120.0100.05720.15
5.5.110.0100.05720.21
5.5.100.0130.05720.18
5.5.90.0130.05020.06
5.5.80.0230.04720.07
5.5.70.0200.05020.09
5.5.60.0230.04720.09
5.5.50.0100.05720.12
5.5.40.0170.05720.06
5.5.30.0170.05020.08
5.5.20.0030.06720.08
5.5.10.0100.06320.07
5.5.00.0170.05020.19

preferences:
32.54 ms | 401 KiB | 5 Q