3v4l.org

run code in 300+ PHP versions simultaneously
<? $encodedSecret = "3d3d516343746d4d6d6c315669563362"; $secret = "1"; /*echo bin2hex(strrev(base64_encode($secret))); */ $encodedSecret = "3d3d514d3d3d516343746d4d6d6c315669563362"; $encodedSecret = hex2bin($encodedSecret,16,2); $encodedSecret = strrev($encodedSecret); $encodedSecret = base64_decode($encodedSecret); echo $encodedSecret; ?>

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.70.0090.00616.36
8.3.60.0140.00718.43
8.3.50.0120.00817.31
8.3.40.0150.00018.71
8.3.30.0100.00318.54
8.3.20.0000.00818.73
8.3.10.0050.00320.38
8.3.00.0100.00019.26
8.2.180.0100.01016.32
8.2.170.0120.00922.96
8.2.160.0130.00322.26
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00319.23
8.2.110.0030.01321.10
8.2.100.0000.01117.59
8.2.90.0060.00319.23
8.2.80.0070.00017.80
8.2.70.0040.00417.50
8.2.60.0030.00617.90
8.2.50.0050.00518.07
8.2.40.0000.00818.03
8.2.30.0000.00717.93
8.2.20.0040.00417.58
8.2.10.0040.00417.49
8.2.00.0050.00317.41
8.1.280.0070.00725.92
8.1.270.0030.00622.00
8.1.260.0050.00226.35
8.1.250.0080.00028.09
8.1.240.0090.00022.42
8.1.230.0060.00620.81
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.22
8.1.190.0040.00417.27
8.1.180.0040.00418.10
8.1.170.0020.00518.76
8.1.160.0050.00318.74
8.1.150.0070.00018.55
8.1.140.0050.00517.36
8.1.130.0060.00017.77
8.1.120.0030.00317.29
8.1.110.0020.00517.20
8.1.100.0030.00317.38
8.1.90.0000.00717.22
8.1.80.0000.00717.34
8.1.70.0000.00717.34
8.1.60.0070.00017.48
8.1.50.0040.00417.26
8.1.40.0000.00717.38
8.1.30.0040.00417.41
8.1.20.0030.00517.45
8.1.10.0000.00817.46
8.1.00.0030.00617.44
8.0.300.0050.00319.82
8.0.290.0060.00316.75
8.0.280.0070.00018.41
8.0.270.0000.00917.19
8.0.260.0000.00718.54
8.0.250.0070.00016.72
8.0.240.0030.00616.84
8.0.230.0000.00916.81
8.0.220.0030.00316.66
8.0.210.0040.00416.78
8.0.200.0030.00316.80
8.0.190.0060.00416.85
8.0.180.0040.00416.81
8.0.170.0030.00516.78
8.0.160.0030.00316.83
8.0.150.0040.00416.68
8.0.140.0030.00616.68
8.0.130.0000.00513.36
8.0.120.0040.00416.71
8.0.110.0040.00416.73
8.0.100.0040.00416.80
8.0.90.0070.00016.83
8.0.80.0000.01516.70
8.0.70.0000.00816.78
8.0.60.0040.00416.80
8.0.50.0070.00016.65
8.0.30.0100.00916.97
8.0.20.0110.00717.13
8.0.10.0040.00416.95
8.0.00.0160.00216.61
7.4.330.0020.00214.72
7.4.320.0000.00616.37
7.4.300.0030.00316.38
7.4.290.0070.00016.38
7.4.280.0060.00616.48
7.4.270.0030.00316.39
7.4.260.0040.00413.22
7.4.250.0000.00816.38
7.4.240.0040.00416.36
7.4.230.0040.00416.57
7.4.220.0100.01316.37
7.4.210.0050.01116.48
7.4.200.0030.00316.17
7.4.190.0070.00016.62
7.4.160.0080.00816.34
7.4.150.0100.00717.07
7.4.140.0170.00917.14
7.4.130.0130.00716.41
7.4.120.0170.00416.35
7.4.110.0150.00816.34
7.4.100.0100.00716.41
7.4.90.0030.01616.41
7.4.80.0030.01518.80
7.4.70.0070.01016.36
7.4.60.0130.00616.30
7.4.50.0040.00416.27
7.4.40.0090.00321.94
7.4.30.0090.00916.59
7.4.00.0070.01015.07
7.3.330.0060.00013.17
7.3.320.0030.00313.04
7.3.310.0070.00016.18
7.3.300.0030.00316.13
7.3.290.0040.01116.17
7.3.280.0100.00516.16
7.3.270.0090.00917.07
7.3.260.0080.00818.24
7.3.250.0090.01216.42
7.3.240.0040.01316.32
7.3.230.0160.00016.39
7.3.210.0100.00716.41
7.3.200.0030.01419.39
7.3.190.0060.01716.37
7.3.180.0130.00416.23
7.3.170.0060.01316.25
7.3.160.0030.01316.54
7.3.120.0090.00614.64
7.3.10.0090.00916.44
7.3.00.0070.00716.17
7.2.330.0160.00716.36
7.2.320.0130.00316.34
7.2.310.0090.00916.31
7.2.300.0090.00916.50
7.2.290.0060.01616.56
7.2.130.0060.00916.79
7.2.120.0110.00716.52
7.2.110.0120.00616.77
7.2.100.0090.00916.53
7.2.90.0140.01016.75
7.2.80.0110.00716.74
7.2.70.0180.00516.83
7.2.60.0090.00916.52
7.2.50.0100.00716.36
7.2.40.0140.00716.63
7.2.30.0140.01016.48
7.2.20.0100.00616.70
7.2.10.0110.00715.98
7.2.00.0060.01017.97
7.1.250.0080.00315.76
7.1.100.0070.00318.06
7.1.70.0030.00716.86
7.1.60.0130.01019.40
7.1.50.0070.01516.71
7.1.00.0000.07722.27
7.0.200.0120.00316.74
7.0.140.0070.06721.95
7.0.120.0000.03322.16
7.0.60.0000.07719.78
7.0.50.0030.04017.80
7.0.40.0170.03020.24
7.0.30.0300.05320.17
7.0.20.0300.06320.04
7.0.10.0000.05720.18
7.0.00.0070.06720.01
5.6.280.0030.07321.09
5.6.210.0000.04320.64
5.6.200.0070.08018.18
5.6.190.0030.08720.61
5.6.180.0270.06020.56
5.6.170.0270.07720.45
5.6.160.0170.06020.48
5.6.150.0130.07318.16
5.6.140.0070.07018.14
5.6.130.0100.08318.20
5.6.120.0000.05721.00
5.6.110.0030.09021.00
5.6.100.0070.07721.10
5.6.90.0130.08720.95
5.6.80.0070.08020.36
5.5.350.0030.08020.29
5.5.340.0000.04717.96
5.5.330.0030.04320.47
5.5.320.1270.05320.51
5.5.310.0300.07320.32
5.5.300.0100.07718.01
5.5.290.0070.05017.95
5.5.280.0030.07320.87
5.5.270.0070.04320.77
5.5.260.0030.08720.61
5.5.250.0070.04320.63
5.5.240.0100.06720.12
5.4.450.0530.05025.16
5.4.440.0670.03325.16
5.4.430.0830.05025.16
5.4.420.0600.04325.16
5.4.410.0230.04025.16
5.4.400.0270.04725.16
5.4.390.0500.03725.16
5.4.380.0730.05325.16
5.4.370.0330.03725.16
5.4.360.0330.04325.16
5.4.350.0730.03725.16
5.4.340.0900.03725.16
5.4.320.0970.04025.16
5.4.310.0600.04325.16
5.4.300.0730.04325.16
5.4.290.0700.04025.16
5.4.280.0500.04725.16
5.4.270.0630.05025.16
5.4.260.0830.03325.16
5.4.250.0330.06325.16
5.4.240.0430.04725.16
5.4.230.0530.04025.16
5.4.220.0370.04025.16
5.4.210.0800.04025.16
5.4.200.0530.03725.16
5.4.190.0530.04025.16
5.4.180.0370.04025.16
5.4.170.0630.03025.16
5.4.160.0470.02725.16
5.4.150.0430.04325.16
5.4.140.0630.04025.16
5.4.130.0570.03325.16
5.4.120.0500.03025.16
5.4.110.0700.02725.16
5.4.100.0170.04025.16
5.4.90.0800.02725.16
5.4.80.0470.04325.16
5.4.70.0670.04325.16
5.4.60.0430.03725.16
5.4.50.0470.03725.16
5.4.40.0600.04025.16
5.4.30.0900.03725.16
5.4.20.0530.04025.16
5.4.10.0400.04325.16
5.4.00.0200.03725.16
5.3.290.0370.04025.16
5.3.280.0870.03325.16
5.3.270.0600.02725.16
5.3.260.0600.04025.16
5.3.250.0500.05325.16
5.3.240.0470.04325.16
5.3.230.0700.03025.16
5.3.220.0600.04025.16
5.3.210.0830.03725.16
5.3.200.0800.03025.16
5.3.190.0530.03025.16
5.3.180.0370.03325.16
5.3.170.0800.04325.16
5.3.160.0600.05025.16
5.3.150.0400.04025.16
5.3.140.0470.03325.16
5.3.130.0400.04025.16
5.3.120.0530.03325.16
5.3.110.0500.04025.16
5.3.100.0330.04325.16
5.3.90.0570.04025.16
5.3.80.0270.04325.16
5.3.70.0470.03325.16
5.3.60.0370.04025.16
5.3.50.0600.03325.16
5.3.40.0500.03725.16
5.3.30.0600.03725.16
5.3.20.0330.04025.16
5.3.10.0730.04025.16
5.3.00.0530.03325.16
5.2.170.0400.03025.16
5.2.160.0570.03025.16
5.2.150.0630.03325.16
5.2.140.0430.03725.16
5.2.130.0300.03025.16
5.2.120.0430.03725.16
5.2.110.0130.03325.16
5.2.100.0370.03025.16
5.2.90.0200.03725.16
5.2.80.0400.03725.16
5.2.70.0400.04025.16
5.2.60.0570.03025.16
5.2.50.0370.03025.16
5.2.40.0430.03025.16
5.2.30.0270.04025.16
5.2.20.0230.03325.16
5.2.10.0570.02025.16
5.2.00.0370.03325.16
5.1.60.0400.02325.16
5.1.50.0500.02725.16
5.1.40.0430.03325.16
5.1.30.0330.02725.16
5.1.20.0470.02325.16
5.1.10.0170.02725.16
5.1.00.0400.03325.16
5.0.50.0070.02725.16
5.0.40.0230.01725.16
5.0.30.0230.03325.16
5.0.20.0300.02025.16
5.0.10.0100.02025.16
5.0.00.0170.03325.16
4.4.90.0070.01725.16
4.4.80.0170.01025.16
4.4.70.0130.01025.16
4.4.60.0200.01325.16
4.4.50.0170.02025.16
4.4.40.0030.02725.16
4.4.30.0070.02325.16
4.4.20.0200.01025.16
4.4.10.0300.01025.16
4.4.00.0230.02325.16
4.3.110.0100.01025.16
4.3.100.0130.01325.16
4.3.90.0270.01725.16
4.3.80.0100.02725.16
4.3.70.0230.01325.16
4.3.60.0070.01325.16
4.3.50.0200.01725.16
4.3.40.0230.02325.16
4.3.30.0000.02025.16
4.3.20.0030.02025.16
4.3.10.0030.02025.16
4.3.00.0200.01325.16

preferences:
51.2 ms | 401 KiB | 5 Q