3v4l.org

run code in 300+ PHP versions simultaneously
<?php $encodedSecret = "3d3d516343746d4d6d6c315669563362"; function encodeSecret($secret) { return bin2hex(strrev(base64_encode($secret))); } function decodeSecret($secret) { return hex2bin(strrev(base64_decode($secret))); } $secret = "hello"; echo decodeSecret(encodeSecret($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.40.0040.01118.45
8.3.30.0140.00319.09
8.3.20.0070.00020.22
8.3.10.0080.00023.61
8.3.00.0070.00417.50
8.2.170.0140.00022.96
8.2.160.0060.00820.24
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.01426.16
8.2.120.0000.00722.14
8.2.110.0090.00022.08
8.2.100.0080.00417.72
8.2.90.0040.00419.27
8.2.80.0050.00318.03
8.2.70.0040.00417.63
8.2.60.0040.00417.90
8.2.50.0040.00418.07
8.2.40.0040.00418.09
8.2.30.0000.00817.94
8.2.20.0020.00517.64
8.2.10.0050.00217.96
8.2.00.0060.00317.68
8.1.270.0150.00322.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.80
8.1.230.0030.00719.20
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0070.00317.22
8.1.190.0040.00417.41
8.1.180.0050.00318.10
8.1.170.0000.00818.58
8.1.160.0030.00321.95
8.1.150.0000.00718.58
8.1.140.0060.00317.40
8.1.130.0030.00317.79
8.1.120.0030.00617.32
8.1.110.0000.00717.45
8.1.100.0030.00317.42
8.1.90.0000.00717.29
8.1.80.0060.00317.45
8.1.70.0030.00317.26
8.1.60.0000.00817.64
8.1.50.0040.00417.56
8.1.40.0050.00217.58
8.1.30.0040.00417.55
8.1.20.0040.00417.66
8.1.10.0000.00717.52
8.1.00.0060.00317.43
8.0.300.0000.00819.15
8.0.290.0000.00817.16
8.0.280.0050.00218.32
8.0.270.0030.00317.16
8.0.260.0030.00517.25
8.0.250.0030.00317.00
8.0.240.0040.00416.95
8.0.230.0030.00316.84
8.0.220.0000.00716.93
8.0.210.0000.00716.89
8.0.200.0060.00316.90
8.0.190.0090.00016.95
8.0.180.0070.00016.93
8.0.170.0040.00416.95
8.0.160.0040.00416.91
8.0.150.0050.00216.88
8.0.140.0000.00816.74
8.0.130.0030.00313.36
8.0.120.0030.00516.86
8.0.110.0040.00416.86
8.0.100.0040.00516.74
8.0.90.0050.00216.92
8.0.80.0000.01616.84
8.0.70.0030.00516.84
8.0.60.0000.00816.90
8.0.50.0050.00216.95
8.0.30.0110.01017.14
8.0.20.0140.00517.40
8.0.10.0070.00017.09
8.0.00.0090.00816.84
7.4.330.0000.00515.14
7.4.320.0060.00016.48
7.4.300.0000.00616.50
7.4.290.0030.00316.40
7.4.280.0040.00416.63
7.4.270.0070.00016.50
7.4.260.0030.00316.63
7.4.250.0000.00816.57
7.4.240.0040.00416.42
7.4.230.0030.00316.41
7.4.220.0090.01316.40
7.4.210.0070.00716.60
7.4.200.0040.00416.66
7.4.190.0000.00716.45
7.4.160.0060.01016.51
7.4.150.0090.00917.40
7.4.140.0080.00917.86
7.4.130.0060.01016.59
7.4.120.0110.00716.53
7.4.110.0140.00316.29
7.4.100.0150.00916.45
7.4.90.0140.00416.56
7.4.80.0170.00019.39
7.4.70.0090.00616.70
7.4.60.0040.01316.44
7.4.50.0030.00516.53
7.4.40.0040.01122.77
7.4.30.0090.00616.30
7.4.10.0120.00415.08
7.4.00.0070.01014.94
7.3.330.0000.00613.30
7.3.320.0000.00613.16
7.3.310.0050.00216.15
7.3.300.0060.00016.34
7.3.290.0090.00616.34
7.3.280.0090.00716.27
7.3.270.0140.00617.40
7.3.260.0070.01516.31
7.3.250.0080.01316.40
7.3.240.0190.00316.54
7.3.230.0100.00716.44
7.3.210.0100.00716.34
7.3.200.0060.01319.39
7.3.190.0030.02016.56
7.3.180.0050.01116.49
7.3.170.0060.00916.35
7.3.160.0120.00316.41
7.3.130.0030.01614.80
7.3.120.0030.01314.88
7.3.110.0070.01014.88
7.3.100.0040.00714.50
7.3.90.0140.00414.83
7.3.80.0070.01014.70
7.3.70.0030.01314.79
7.3.60.0090.00614.86
7.3.50.0130.00314.53
7.3.40.0030.01414.87
7.3.30.0030.01014.82
7.3.20.0110.00416.66
7.3.10.0090.00416.58
7.3.00.0020.01116.67
7.2.330.0040.01316.30
7.2.320.0080.00816.62
7.2.310.0060.01016.25
7.2.300.0130.00316.50
7.2.290.0110.00616.48
7.2.260.0080.00714.62
7.2.250.0030.01614.89
7.2.240.0000.01214.84
7.2.230.0110.00715.01
7.2.220.0080.00914.68
7.2.210.0040.00414.95
7.2.200.0120.00314.63
7.2.190.0040.01214.98
7.2.180.0040.00814.92
7.2.170.0130.00314.91
7.2.160.0070.00714.94
7.2.150.0080.00316.85
7.2.140.0070.01016.86
7.2.130.0090.00516.85
7.2.120.0080.00516.77
7.2.110.0080.00616.93
7.2.100.0050.00616.88
7.2.90.0070.00716.63
7.2.80.0060.00616.85
7.2.70.0040.00716.70
7.2.60.0070.00716.92
7.2.50.0020.01016.60
7.2.40.0080.00616.76
7.2.30.0090.00316.74
7.2.20.0050.00816.69
7.2.10.0050.00816.85
7.2.00.0070.00916.86
7.1.330.0030.01215.80
7.1.320.0070.01015.35
7.1.310.0000.01415.91
7.1.300.0060.01015.61
7.1.290.0030.00615.66
7.1.280.0040.00815.74
7.1.270.0120.00315.49
7.1.260.0060.00615.84
7.1.250.0040.01115.66
7.1.240.0040.00715.87
7.1.230.0070.00715.86
7.1.220.0120.00315.59
7.1.210.0000.00815.52
7.1.200.0070.00715.56
7.1.190.0090.00615.70
7.1.180.0030.01315.80
7.1.170.0030.01015.76
7.1.160.0040.00915.65
7.1.150.0040.00815.39
7.1.140.0030.01215.46
7.1.130.0030.01415.73
7.1.120.0060.00615.87
7.1.110.0030.00615.88
7.1.100.0040.01015.80
7.1.90.0040.00415.87
7.1.80.0030.01015.69
7.1.70.0000.01216.52
7.1.60.0070.01217.41
7.1.50.0130.00516.29
7.1.40.0080.00415.89
7.1.30.0070.00715.82
7.1.20.0080.00315.88
7.1.10.0000.01015.49
7.1.00.0020.04518.94
7.0.330.0140.00015.25
7.0.320.0070.00715.45
7.0.310.0060.01015.34
7.0.300.0030.00715.14
7.0.290.0040.01115.34
7.0.280.0030.00515.55
7.0.270.0060.00315.54
7.0.260.0070.00715.42
7.0.250.0030.01015.08
7.0.240.0060.00615.46
7.0.230.0060.00315.43
7.0.220.0070.00715.31
7.0.210.0090.00615.32
7.0.200.0060.00415.96
7.0.190.0060.00915.34
7.0.180.0000.01115.16
7.0.170.0030.00915.30
7.0.160.0000.01015.35
7.0.150.0030.00715.43
7.0.140.0090.03618.64
7.0.130.0060.00915.43
7.0.120.0040.00415.43
7.0.110.0080.00415.41
7.0.100.0060.00915.36
7.0.90.0000.01515.20
7.0.80.0070.04418.37
7.0.70.0050.02817.65
7.0.60.0050.04417.60
7.0.50.0050.04518.62
7.0.40.0020.03416.70
7.0.30.0050.04816.73
7.0.20.0030.03916.74
7.0.10.0100.04316.64
7.0.00.0040.04116.76
5.6.400.0110.00414.29
5.6.390.0120.00314.20
5.6.380.0000.01514.09
5.6.370.0070.00714.21
5.6.360.0060.00614.16
5.6.350.0000.01814.23
5.6.340.0080.00014.51
5.6.330.0060.00613.93
5.6.320.0080.00414.30
5.6.310.0060.00314.32
5.6.300.0030.01014.21
5.6.290.0050.00514.16
5.6.280.0030.04317.64
5.6.270.0080.00013.94
5.6.260.0040.01214.11
5.6.250.0040.00814.18
5.6.240.0110.00314.53
5.6.230.0020.03517.34
5.6.220.0030.04117.46
5.6.210.0050.04217.30
5.6.200.0100.04517.86
5.6.190.0080.04017.61
5.6.180.0060.04617.76
5.6.170.0110.03317.64
5.6.160.0070.04317.78
5.6.150.0110.03017.51
5.6.140.0050.04717.69
5.6.130.0050.04617.61
5.6.120.0020.05217.59
5.6.110.0060.04617.69
5.6.100.0060.02817.69
5.6.90.0080.04517.48
5.6.80.0070.02717.29
5.6.70.0110.03717.46
5.6.60.0060.04317.20
5.6.50.0100.03017.41
5.6.40.0060.04617.23
5.6.30.0100.03717.19
5.6.20.0050.02817.28
5.6.10.0080.02617.23
5.6.00.0110.04017.19
5.5.380.0000.01814.11
5.5.370.0100.04317.28
5.5.360.0020.04217.34
5.5.350.0110.04017.33
5.5.340.0050.04417.41
5.5.330.0030.04717.46
5.5.320.0050.04417.48
5.5.310.0080.04617.38
5.5.300.0140.01717.52
5.5.290.0100.04317.67
5.5.280.0050.04117.43
5.5.270.0050.04017.66
5.5.260.0080.02517.50
5.5.250.0050.03217.36
5.5.240.0120.03617.13
5.5.230.0090.03217.01
5.5.220.0070.04117.10
5.5.210.0070.03717.21
5.5.200.0080.04017.26
5.5.190.0030.02717.09
5.5.180.0030.02817.20
5.5.170.0110.00414.00
5.5.160.0020.04817.08
5.5.150.0050.02717.01
5.5.140.0050.02617.12
5.5.130.0020.04117.17
5.5.120.0090.03517.07
5.5.110.0090.04217.24
5.5.100.0070.02417.16
5.5.90.0100.03717.20
5.5.80.0110.03517.18
5.5.70.0110.02516.96
5.5.60.0080.02916.88
5.5.50.0090.03817.19
5.5.40.0110.04017.20
5.5.30.0060.02816.99
5.5.20.0070.04017.14
5.5.10.0080.02517.02
5.5.00.0060.04417.07
5.4.450.0100.04016.22
5.4.440.0080.04116.19
5.4.430.0030.04116.23
5.4.420.0030.03816.24
5.4.410.0040.03216.12
5.4.400.0000.02716.09
5.4.390.0070.03816.10
5.4.380.0030.04316.10
5.4.370.0030.04015.93
5.4.360.0080.02816.07
5.4.350.0050.04015.95
5.4.340.0050.02315.96
5.4.330.0000.01313.02
5.4.320.0010.04116.06
5.4.310.0040.04316.05
5.4.300.0050.04215.98
5.4.290.0060.04615.98
5.4.280.0050.03916.11
5.4.270.0050.03516.13
5.4.260.0030.02616.11
5.4.250.0050.02516.03
5.4.240.0030.02516.02
5.4.230.0030.03716.10
5.4.220.0070.03915.96
5.4.210.0060.04515.96
5.4.200.0080.02315.96
5.4.190.0070.03716.02
5.4.180.0050.02416.07
5.4.170.0080.04216.06
5.4.160.0050.03316.06
5.4.150.0070.04215.97
5.4.140.0050.04114.75
5.4.130.0050.02914.63
5.4.120.0070.03714.71
5.4.110.0030.03614.75
5.4.100.0070.04214.67
5.4.90.0020.04014.71
5.4.80.0020.04314.71
5.4.70.0070.03814.73
5.4.60.0060.02314.68
5.4.50.0090.03414.63
5.4.40.0040.03714.74
5.4.30.0030.04214.72
5.4.20.0060.02314.69
5.4.10.0090.02214.71
5.4.00.0030.03014.45
5.3.290.0020.02913.82
5.3.280.0030.04213.87
5.3.270.0070.03813.83
5.3.260.0050.03813.84
5.3.250.0020.02813.84
5.3.240.0090.03813.87
5.3.230.0000.04613.82
5.3.220.0070.04213.80
5.3.210.0060.04313.77
5.3.200.0070.03713.85
5.3.190.0060.04413.79
5.3.180.0080.03313.84
5.3.170.0040.02413.76
5.3.160.0050.03513.85
5.3.150.0050.04013.79
5.3.140.0070.04013.86
5.3.130.0050.04013.75
5.3.120.0030.03613.83
5.3.110.0050.04013.76
5.3.100.0030.04213.51
5.3.90.0050.03713.57
5.3.80.0080.03613.58
5.3.70.0020.03913.51
5.3.60.0060.04013.54
5.3.50.0050.03813.48
5.3.40.0030.03813.45
5.3.30.0020.04713.52
5.3.20.0100.03813.35
5.3.10.0000.03113.41
5.3.00.0050.02813.30
5.2.170.0000.06311.68
5.2.160.0070.06311.68
5.2.150.0070.05711.68
5.2.140.0000.06711.68
5.2.130.0000.06311.68
5.2.120.0000.03711.68
5.2.110.0000.07011.68
5.2.100.0070.05711.68
5.2.90.0070.05711.68
5.2.80.0070.06311.68
5.2.70.0070.05711.68
5.2.60.0130.04011.68
5.2.50.0030.06011.68
5.2.40.0070.06011.68
5.2.30.0030.04311.68
5.2.20.0070.03011.68
5.2.10.0030.05711.68
5.2.00.0030.03311.68
5.1.60.0030.05711.68
5.1.50.0000.05011.68
5.1.40.0100.05011.68
5.1.30.0070.06011.68
5.1.20.0000.04711.68
5.1.10.0030.02711.68
5.1.00.0030.03711.68
5.0.50.0030.04311.68
5.0.40.0100.02711.68
5.0.30.0070.05711.68
5.0.20.0070.04011.68
5.0.10.0070.04011.68
5.0.00.0030.06011.68
4.4.90.0000.04011.68
4.4.80.0030.02011.68
4.4.70.0000.03011.68
4.4.60.0000.02711.68
4.4.50.0000.01711.68
4.4.40.0070.03011.68
4.4.30.0000.02311.68
4.4.20.0000.03311.68
4.4.10.0070.03011.68
4.4.00.0030.03311.68
4.3.110.0000.02011.68
4.3.100.0000.03711.68
4.3.90.0000.03711.68
4.3.80.0000.05311.68
4.3.70.0030.02011.68
4.3.60.0000.03011.68
4.3.50.0030.03011.68
4.3.40.0000.04311.68
4.3.30.0000.03711.68
4.3.20.0000.02711.68
4.3.10.0070.03311.68
4.3.00.0030.01711.68

preferences:
40.84 ms | 400 KiB | 5 Q