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.3.90.0100.00326.77
8.3.80.0060.00320.13
8.3.70.0210.00517.27
8.3.60.0210.00822.06
8.3.50.0100.00622.01
8.3.40.0190.00622.21
8.3.30.0200.00322.08
8.3.20.0150.00623.50
8.3.10.0180.00423.62
8.3.00.0170.00524.81
8.2.210.0000.01926.77
8.2.200.0060.00316.63
8.2.190.0130.01017.27
8.2.180.0180.00823.93
8.2.170.0220.00822.16
8.2.160.0190.00923.19
8.2.150.0200.00723.87
8.2.140.0230.00723.62
8.2.130.0180.00824.81
8.2.120.0170.00724.81
8.2.110.0190.00624.03
8.2.100.0200.00723.14
8.2.90.0190.00722.37
8.2.80.0180.00722.22
8.2.70.0160.00720.95
8.2.60.0180.00520.96
8.2.50.0150.00821.01
8.2.40.0150.00721.04
8.2.30.0170.00620.98
8.2.20.0160.00821.23
8.2.10.0140.00920.94
8.2.00.0170.00621.12
8.1.290.0100.00018.88
8.1.280.0160.00923.93
8.1.270.0220.00923.45
8.1.260.0170.00624.85
8.1.250.0210.00625.20
8.1.240.0180.00724.13
8.1.230.0200.00523.13
8.1.220.0160.00922.13
8.1.210.0160.00922.26
8.1.200.0170.00620.72
8.1.190.0160.00720.71
8.1.180.0140.00620.87
8.1.170.0120.00920.95
8.1.160.0140.00620.99
8.1.150.0150.00620.95
8.1.140.0130.00620.83
8.1.130.0160.00420.98
8.1.120.0140.00520.80
8.1.110.0120.00720.78
8.1.100.0140.00620.77
8.1.90.0150.00620.81
8.1.80.0130.00720.81
8.1.70.0140.00620.87
8.1.60.0160.00520.87
8.1.50.0140.00820.81
8.1.40.0180.00520.83
8.1.30.0200.00320.93
8.1.20.0160.00620.92
8.1.10.0180.00520.92
8.1.00.0180.00620.85
8.0.300.0200.00522.24
8.0.290.0200.00420.59
8.0.280.0170.00520.81
8.0.270.0160.00520.72
8.0.260.0170.00620.79
8.0.250.0170.00520.62
8.0.240.0170.00620.59
8.0.230.0170.00620.61
8.0.220.0160.00620.59
8.0.210.0180.00320.60
8.0.200.0160.00620.59
8.0.190.0140.00720.62
8.0.180.0140.00720.59
8.0.170.0150.00720.58
8.0.160.0170.00420.58
8.0.150.0160.00520.58
8.0.140.0160.00720.57
8.0.130.0140.00720.13
8.0.120.0170.00419.37
8.0.110.0140.00619.36
8.0.100.0150.00619.37
8.0.90.0160.00519.37
8.0.80.0150.00519.51
8.0.70.0160.00419.36
8.0.60.0170.00419.37
8.0.50.0160.00519.37
8.0.30.0160.00419.38
8.0.20.0150.00519.38
8.0.10.0150.00619.39
8.0.00.0150.00419.41
7.4.330.0140.00620.42
7.4.320.0160.00520.54
7.4.300.0180.00320.53
7.4.290.0170.00420.54
7.4.280.0180.00420.53
7.4.270.0160.00520.54
7.4.260.0170.00420.12
7.4.250.0170.00419.36
7.4.240.0170.00519.37
7.4.230.0180.00419.35
7.4.220.0170.00519.35
7.4.210.0160.00719.37
7.4.200.0180.00319.36
7.4.190.0160.00519.38
7.4.180.0170.00419.37
7.4.160.0170.00419.38
7.4.150.0160.00519.36
7.4.140.0170.00519.35
7.4.130.0160.00619.35
7.4.120.0180.00319.34
7.4.110.0160.00419.35
7.4.100.0140.00619.35
7.4.90.0170.00319.34
7.4.80.0160.00419.34
7.4.70.0160.00519.35
7.4.60.0160.00519.33
7.4.50.0170.00419.34
7.4.40.0160.00419.34
7.4.30.0150.00619.33
7.4.20.0160.00419.33
7.4.10.0140.00619.33
7.4.00.0150.00519.32
7.3.330.0160.00520.48
7.3.320.0140.00619.29
7.3.310.0160.00619.27
7.3.300.0160.00519.31
7.3.290.0180.00319.28
7.3.280.0170.00319.30
7.3.270.0150.00619.33
7.3.260.0170.00619.31
7.3.250.0170.00419.31
7.3.240.0160.00519.31
7.3.230.0160.00419.30
7.3.220.0170.00519.29
7.3.210.0160.00419.27
7.3.200.0160.00519.29
7.3.190.0180.00419.25
7.3.180.0150.00719.28
7.3.170.0170.00319.28
7.3.160.0150.00519.28
7.3.150.0160.00519.28
7.3.140.0140.00619.28
7.3.130.0150.00619.29
7.3.120.0140.00619.27
7.3.110.0150.00419.25
7.3.100.0130.00619.27
7.3.90.0160.00519.33
7.3.80.0150.00519.28
7.3.70.0150.00419.31
7.3.60.0150.00419.32
7.3.50.0150.00419.26
7.3.40.0130.00619.30
7.3.30.0140.00419.27
7.3.20.0140.00419.79
7.3.10.0200.00319.80
7.3.00.0160.00519.78

preferences:
23.77 ms | 401 KiB | 5 Q