3v4l.org

run code in 300+ PHP versions simultaneously
<?php $secret = "3d3d516343746d4d6d6c315669563362"; // original method was base64 encode -> strrev -> bin2hex // new method will be hex2bin -> strrev -> base64 decode echo base64_decode(strrev(hex2bin($secret))); ?>

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.4.120.0070.00219.27
8.4.110.0060.00222.36
8.4.100.0150.00917.54
8.4.90.0100.01117.66
8.4.80.0090.00918.28
8.4.70.0040.00418.22
8.4.60.0110.00818.24
8.4.50.0310.00717.78
8.4.40.0280.00917.62
8.4.30.0290.00718.11
8.4.20.0290.00717.85
8.4.10.0260.00717.41
8.3.250.0110.00618.53
8.3.240.0140.00517.07
8.3.230.0200.00216.27
8.3.220.0090.00617.63
8.3.210.0030.00516.37
8.3.200.0090.00516.41
8.3.190.0220.00516.94
8.3.180.0180.00516.88
8.3.170.0270.00516.25
8.3.160.0240.00716.69
8.3.150.0230.00716.48
8.3.140.0250.00716.75
8.3.130.0220.00516.87
8.3.120.0190.00717.04
8.3.110.0190.00517.02
8.3.100.0230.00719.90
8.3.90.0230.00520.60
8.3.80.0250.00519.46
8.3.70.0260.00618.97
8.3.60.0220.00720.49
8.3.50.0190.00520.26
8.3.40.0200.00620.94
8.3.30.0190.00520.88
8.3.20.0160.00621.36
8.3.10.0170.00521.42
8.3.00.0160.00522.13
8.2.290.0100.00616.44
8.2.280.0160.00616.32
8.2.270.0200.00516.37
8.2.260.0150.00516.43
8.2.250.0140.00416.37
8.2.240.0190.00516.48
8.2.230.0190.00317.13
8.2.220.0200.00521.66
8.2.210.0180.00720.41
8.2.200.0180.00318.93
8.2.190.0170.00818.92
8.2.180.0190.00621.01
8.2.170.0220.00721.00
8.2.160.0210.00721.33
8.2.150.0220.00621.62
8.2.140.0230.00521.46
8.2.130.0220.00722.15
8.2.120.0200.00722.17
8.2.110.0220.00721.84
8.2.100.0210.00721.63
8.2.90.0210.00621.23
8.2.80.0190.00721.14
8.2.70.0180.00720.61
8.2.60.0190.00520.61
8.2.50.0170.00820.64
8.2.40.0160.00720.80
8.2.30.0180.00620.74
8.2.20.0170.00720.93
8.2.10.0160.00820.71
8.2.00.0180.00620.79
8.1.330.0150.00415.67
8.1.320.0180.00516.02
8.1.310.0150.00716.36
8.1.300.0170.00516.16
8.1.290.0200.00519.03
8.1.280.0210.00720.87
8.1.270.0240.00621.50
8.1.260.0200.00722.11
8.1.250.0220.00622.25
8.1.240.0200.00621.76
8.1.230.0210.00621.39
8.1.220.0190.00721.04
8.1.210.0180.00821.03
8.1.200.0190.00520.37
8.1.190.0180.00620.33
8.1.180.0160.00720.37
8.1.170.0160.00720.52
8.1.160.0170.00620.49
8.1.150.0180.00620.46
8.1.140.0170.00620.41
8.1.130.0190.00520.50
8.1.120.0190.00520.46
8.1.110.0170.00620.42
8.1.100.0170.00720.44
8.1.90.0190.00620.42
8.1.80.0180.00720.49
8.1.70.0160.00620.57
8.1.60.0170.00620.54
8.1.50.0170.00720.47
8.1.40.0200.00620.50
8.1.30.0220.00520.56
8.1.20.0200.00620.55
8.1.10.0220.00620.48
8.1.00.0210.00720.46
8.0.300.0200.00720.74
8.0.290.0200.00620.12
8.0.280.0190.00520.33
8.0.270.0200.00620.14
8.0.260.0210.00520.18
8.0.250.0180.00520.13
8.0.240.0190.00620.12
8.0.230.0170.00620.24
8.0.220.0180.00720.05
8.0.210.0200.00320.05
8.0.200.0190.00520.09
8.0.190.0160.00720.09
8.0.180.0170.00720.19
8.0.170.0190.00720.08
8.0.160.0200.00520.06
8.0.150.0190.00520.19
8.0.140.0180.00720.04
8.0.130.0190.00619.80
8.0.120.0200.00519.41
8.0.110.0180.00619.33
8.0.100.0190.00619.38
8.0.90.0190.00619.38
8.0.80.0180.00619.45
8.0.70.0210.00519.37
8.0.60.0210.00519.41
8.0.50.0200.00519.40
8.0.30.0200.00519.42
8.0.20.0180.00619.46
8.0.10.0180.00619.46
8.0.00.0190.00519.48
7.4.330.0170.00619.89
7.4.320.0200.00519.94
7.4.300.0200.00419.91
7.4.290.0200.00419.91
7.4.280.0200.00419.94
7.4.270.0180.00619.95
7.4.260.0190.00519.72
7.4.250.0180.00419.29
7.4.240.0180.00519.42
7.4.230.0200.00419.32
7.4.220.0180.00519.38
7.4.210.0180.00619.32
7.4.200.0190.00419.28
7.4.190.0180.00519.32
7.4.180.0180.00519.30
7.4.160.0190.00519.32
7.4.150.0180.00519.29
7.4.140.0180.00519.24
7.4.130.0160.00619.29
7.4.120.0180.00419.33
7.4.110.0180.00419.27
7.4.100.0160.00719.25
7.4.90.0190.00419.25
7.4.80.0190.00519.22
7.4.70.0190.00519.25
7.4.60.0180.00619.25
7.4.50.0190.00519.35
7.4.40.0170.00519.27
7.4.30.0160.00519.25
7.4.20.0160.00519.33
7.4.10.0160.00519.23
7.4.00.0160.00419.26
7.3.330.0160.00519.72
7.3.320.0160.00619.11
7.3.310.0180.00519.22
7.3.300.0190.00519.24
7.3.290.0200.00419.12
7.3.280.0180.00419.11
7.3.270.0180.00619.17
7.3.260.0190.00619.16
7.3.250.0180.00519.12
7.3.240.0170.00619.13
7.3.230.0190.00419.16
7.3.220.0200.00519.13
7.3.210.0190.00519.10
7.3.200.0190.00619.09
7.3.190.0190.00419.11
7.3.180.0190.00619.09
7.3.170.0180.00419.08
7.3.160.0180.00519.11
7.3.150.0190.00519.08
7.3.140.0170.00519.09
7.3.130.0180.00619.09
7.3.120.0160.00619.09
7.3.110.0170.00519.06
7.3.100.0170.00619.03
7.3.90.0180.00519.24
7.3.80.0180.00519.06
7.3.70.0190.00419.18
7.3.60.0180.00419.21
7.3.50.0170.00419.21
7.3.40.0160.00519.24
7.3.30.0180.00519.20
7.3.20.0190.00519.79
7.3.10.0210.00419.79
7.3.00.0180.00519.76

preferences:
89.75 ms | 403 KiB | 5 Q