3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(strrev(base64_encode(123456789))); $str = "3d3d516343746d4d6d6c31566956336"; echo $str; $b64 = base64_decode($str);

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.130.0030.00616.34
8.3.120.0100.00618.85
8.3.110.0070.00420.94
8.3.100.0060.00316.38
8.3.90.0080.00026.77
8.3.80.0000.00816.63
8.3.70.0150.00018.30
8.3.60.0070.00716.25
8.3.50.0100.00917.36
8.3.40.0110.00418.45
8.3.30.0150.00418.77
8.3.20.0030.00621.92
8.3.10.0040.00423.48
8.3.00.0030.00519.13
8.2.250.0050.00316.72
8.2.240.0060.00318.77
8.2.230.0030.00622.58
8.2.220.0000.00924.06
8.2.210.0100.00726.77
8.2.200.0000.00916.75
8.2.190.0070.01016.58
8.2.180.0140.00316.50
8.2.170.0100.00722.96
8.2.160.0030.01020.38
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0040.00421.00
8.2.120.0040.00426.35
8.2.110.0060.00321.14
8.2.100.0040.00818.12
8.2.90.0080.00019.27
8.2.80.0050.00318.04
8.2.70.0060.00317.63
8.2.60.0060.00317.93
8.2.50.0030.00518.10
8.2.40.0060.00320.53
8.2.30.0040.00421.02
8.2.20.0050.00318.10
8.2.10.0000.00718.00
8.2.00.0000.00718.16
8.1.300.0030.00617.97
8.1.290.0090.00030.84
8.1.280.0090.00925.92
8.1.270.0050.00322.09
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00323.96
8.1.230.0090.00319.10
8.1.220.0060.00317.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0080.00017.11
8.1.180.0000.00718.10
8.1.170.0060.00318.45
8.1.160.0000.00718.90
8.1.150.0060.00320.63
8.1.140.0060.00319.55
8.1.130.0000.00718.80
8.1.120.0020.00517.39
8.1.110.0000.00917.35
8.1.100.0000.00717.39
8.1.90.0000.00817.39
8.1.80.0030.00317.43
8.1.70.0000.00717.42
8.1.60.0040.00417.42
8.1.50.0030.00517.37
8.1.40.0040.00417.45
8.1.30.0040.00417.63
8.1.20.0080.00017.59
8.1.10.0080.00017.47
8.1.00.0040.00417.50
8.0.300.0000.00718.77
8.0.290.0030.00616.63
8.0.280.0070.00018.44
8.0.270.0070.00017.25
8.0.260.0070.00016.93
8.0.250.0000.00716.85
8.0.240.0070.00016.97
8.0.230.0040.00416.93
8.0.220.0000.00716.73
8.0.210.0030.00316.77
8.0.200.0030.00316.85
8.0.190.0040.00416.75
8.0.180.0000.00816.78
8.0.170.0040.00416.94
8.0.160.0040.00416.91
8.0.150.0000.00716.80
8.0.140.0040.00416.71
8.0.130.0000.00513.21
8.0.120.0040.00416.81
8.0.110.0020.00516.71
8.0.100.0050.00216.68
8.0.90.0000.00716.61
8.0.80.0070.01116.81
8.0.70.0000.00816.88
8.0.60.0070.00016.77
8.0.50.0090.00016.88
8.0.30.0100.00717.12
8.0.20.0080.01017.40
8.0.10.0040.00416.92
8.0.00.0110.00616.84
7.4.330.0030.00315.55
7.4.320.0030.00316.51
7.4.300.0030.00316.51
7.4.290.0080.00016.36
7.4.280.0050.00316.43
7.4.270.0030.00516.41
7.4.260.0030.00316.42
7.4.250.0000.00716.52
7.4.240.0000.00716.48
7.4.230.0030.00316.38
7.4.220.0090.00816.58
7.4.210.0050.00916.51
7.4.200.0000.00716.34
7.4.160.0100.00616.40
7.4.150.0070.01017.40
7.4.140.0110.00717.86
7.4.130.0140.00616.27
7.4.120.0100.00916.38
7.4.110.0060.00916.41
7.4.100.0070.01416.51
7.4.90.0110.00616.43
7.4.80.0110.00819.39
7.4.70.0080.00816.57
7.4.60.0100.00716.30
7.4.50.0060.00616.55
7.4.40.0130.00316.59
7.4.30.0100.00716.34
7.4.00.0040.01114.82
7.3.330.0000.00613.09
7.3.320.0030.00312.93
7.3.310.0030.00316.19
7.3.300.0000.00716.23
7.3.290.0030.00316.24
7.3.280.0090.00616.21
7.3.270.0130.00317.40
7.3.260.0100.00716.45
7.3.250.0090.00816.49
7.3.240.0110.00816.42
7.3.230.0060.01116.38
7.3.210.0130.00316.20
7.3.200.0070.01116.23
7.3.190.0090.00916.52
7.3.180.0080.00816.50
7.3.170.0060.00916.50
7.3.160.0000.01616.34
7.2.330.0110.00716.49
7.2.320.0060.01116.43
7.2.310.0120.00416.53
7.2.300.0110.00616.46
7.2.290.0040.01216.39
7.2.110.0150.00016.13
7.2.90.2380.00714.73
7.2.80.0130.00514.80
7.2.70.0290.00714.89
7.2.60.2830.00314.71
7.2.50.1830.01015.13
7.2.40.1860.01014.60
7.2.30.1810.00014.95
7.2.20.0220.00714.72
7.2.10.0110.00714.96
7.2.00.1330.01314.75
7.1.210.2020.00813.93
7.1.200.2000.00313.99
7.1.190.0530.00313.95
7.1.180.2660.00613.80
7.1.170.2770.01013.89
7.1.160.1300.00413.82
7.1.150.2230.00313.73
7.1.140.1350.00314.00
7.1.130.0900.00313.75
7.1.120.0090.00613.74
7.1.110.0960.01013.71
7.1.100.1430.00313.90
7.1.90.0260.00713.81
7.1.80.0150.00613.91
7.1.70.0130.01313.91
7.1.60.1160.01031.50
7.1.50.0400.00431.99
7.1.40.0290.00731.75
7.1.30.0280.01131.79
7.1.20.0240.00832.03
7.1.10.0140.00314.02
7.1.00.0180.00413.80
7.0.310.1550.00713.17
7.0.300.2320.00313.55
7.0.290.1550.00613.63
7.0.280.1530.00713.43
7.0.270.0100.00213.58
7.0.260.0230.00613.82
7.0.250.0120.00413.72
7.0.240.0070.00713.61
7.0.230.0550.00413.26
7.0.220.0650.00913.77
7.0.210.1810.00613.42
7.0.200.0040.01413.65
7.0.190.0360.01013.57
7.0.180.0150.00013.72
7.0.170.0940.00313.37
7.0.160.0100.00613.51
7.0.150.0110.00313.36
7.0.140.0180.00413.50
7.0.130.0220.00013.59
7.0.120.0150.00713.73
7.0.110.0120.00613.75
7.0.100.0620.00913.60
7.0.90.0040.00813.64
7.0.80.0910.00613.57
7.0.70.0390.00613.48
7.0.60.0110.00413.53
7.0.50.0090.00413.70
7.0.40.0360.00313.72
7.0.30.0190.00313.55
7.0.20.0190.00613.82
7.0.10.0310.00413.70
7.0.00.0230.00413.75

preferences:
26.44 ms | 403 KiB | 5 Q