3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'This is an encoded satrianga'; echo base64_encode($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.70.0070.00716.50
8.3.60.0140.00416.75
8.3.50.0250.00821.04
8.3.40.0140.00318.46
8.3.30.0110.00418.84
8.3.20.0050.00320.04
8.3.10.0050.00323.71
8.3.00.0040.00819.13
8.2.180.0040.01418.18
8.2.170.0170.00318.96
8.2.160.0140.00422.96
8.2.150.0070.00025.66
8.2.140.0160.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.17
8.2.110.0060.00320.94
8.2.100.0060.00617.75
8.2.90.0020.00519.06
8.2.80.0040.00419.20
8.2.70.0040.00417.61
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0040.00419.95
8.2.30.0020.00518.04
8.2.20.0020.00517.70
8.2.10.0050.00317.89
8.2.00.0040.00417.96
8.1.280.0110.01125.92
8.1.270.0070.00720.29
8.1.260.0100.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00421.25
8.1.230.0110.00017.70
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0000.00818.65
8.1.160.0050.00221.98
8.1.150.0040.00418.84
8.1.140.0050.00217.32
8.1.130.0000.00717.54
8.1.120.0040.00417.38
8.1.110.0000.00817.38
8.1.100.0000.00917.42
8.1.90.0050.00317.26
8.1.80.0020.00517.36
8.1.70.0030.00317.36
8.1.60.0000.00717.43
8.1.50.0000.00717.48
8.1.40.0040.00417.44
8.1.30.0030.00517.46
8.1.20.0070.00017.47
8.1.10.0070.00017.39
8.1.00.0000.00717.43
8.0.300.0050.00218.77
8.0.290.0030.00516.63
8.0.280.0070.00018.42
8.0.270.0000.00817.24
8.0.260.0060.00317.14
8.0.250.0040.00416.98
8.0.240.0030.00616.83
8.0.230.0050.00216.87
8.0.220.0060.00016.71
8.0.210.0070.00016.72
8.0.200.0060.00016.94
8.0.190.0040.00416.84
8.0.180.0000.00716.79
8.0.170.0000.00716.88
8.0.160.0040.00416.82
8.0.150.0000.00716.76
8.0.140.0040.00416.77
8.0.130.0000.00713.23
8.0.120.0000.00816.77
8.0.110.0040.00416.65
8.0.100.0040.00416.68
8.0.90.0070.00016.81
8.0.80.0090.00616.79
8.0.70.0050.00216.83
8.0.60.0040.00416.79
8.0.50.0050.00316.85
8.0.30.0100.00716.91
8.0.20.0100.01317.40
8.0.10.0000.00716.77
8.0.00.0120.00516.79
7.4.330.0020.00215.04
7.4.320.0070.00016.50
7.4.300.0000.00616.31
7.4.290.0030.00316.49
7.4.280.0040.00416.34
7.4.270.0040.00416.57
7.4.260.0040.00416.39
7.4.250.0030.00616.31
7.4.240.0040.00416.44
7.4.230.0030.00316.31
7.4.220.0130.01216.59
7.4.210.0080.00716.48
7.4.200.0000.00716.27
7.4.160.0090.00616.45
7.4.150.0080.00817.40
7.4.140.0110.01817.86
7.4.130.0130.01016.41
7.4.120.0110.00816.47
7.4.110.0130.00316.57
7.4.100.0090.00916.52
7.4.90.0100.01316.19
7.4.80.0130.00719.39
7.4.70.0070.01016.47
7.4.60.0040.01116.35
7.4.50.0050.00316.46
7.4.40.0080.00816.38
7.4.30.0000.01716.16
7.4.00.0040.01015.07
7.3.330.0030.00313.02
7.3.320.0030.00312.96
7.3.310.0070.00016.00
7.3.300.0000.00716.17
7.3.290.0000.00716.12
7.3.280.0060.01116.14
7.3.270.0090.00917.40
7.3.260.0100.01016.18
7.3.250.0110.00616.26
7.3.240.0070.01016.21
7.3.230.0100.01316.39
7.3.210.0100.00716.38
7.3.200.0130.00319.39
7.3.190.0000.01616.11
7.3.180.0090.00616.31
7.3.170.0030.01716.37
7.3.160.0040.01116.20
7.3.10.0110.00316.52
7.3.00.0140.00016.56
7.2.330.0070.01016.54
7.2.320.0060.01316.29
7.2.310.0060.01216.46
7.2.300.0060.01516.37
7.2.290.0140.00916.41
7.2.130.0060.00916.86
7.2.120.0040.00716.63
7.2.110.0110.00416.88
7.2.100.0030.00916.50
7.2.90.0030.01416.90
7.2.80.0060.00617.00
7.2.70.0070.00716.78
7.2.60.0060.00916.79
7.2.50.0060.00316.81
7.2.40.0070.01016.84
7.2.30.0030.01316.63
7.2.20.0070.01016.48
7.2.10.0070.00716.98
7.2.00.0030.01117.86
7.1.250.0030.01015.54
7.1.100.0110.00017.93
7.1.70.0030.00917.08
7.1.60.0030.02019.59
7.1.50.0100.01316.82
7.1.00.0130.06322.33
7.0.200.0030.00516.80
7.0.100.0030.04719.98
7.0.90.0130.07719.97
7.0.80.0100.08019.88
7.0.70.0170.07320.00
7.0.60.0200.07319.73
7.0.50.0070.05322.11
7.0.40.0100.06320.05
7.0.30.0070.05720.04
7.0.20.0130.08320.05
7.0.10.0170.07320.08
7.0.00.0030.07720.11
5.6.280.0000.07320.90
5.6.250.0030.04320.58
5.6.240.0100.07720.66
5.6.230.0170.06720.53
5.6.220.0100.06320.58
5.6.210.0070.04720.76
5.6.200.0030.04321.02
5.6.190.0070.08020.93
5.6.180.0130.07721.07
5.6.170.0070.08320.98
5.6.160.0070.07021.05
5.6.150.0070.07321.01
5.6.140.0030.08020.95
5.6.130.0270.04321.01
5.6.120.0170.06720.95
5.6.110.0070.06020.93
5.6.100.0070.04021.00
5.6.90.0030.08320.96
5.6.80.0100.06320.34
5.6.70.0070.06020.38
5.6.60.0100.05720.30
5.6.50.0070.05720.41
5.6.40.0030.04720.45
5.6.30.0100.04020.37
5.6.20.0100.04720.36
5.6.10.0130.07320.30
5.6.00.0030.04020.36
5.5.380.0070.06020.36
5.5.370.0030.04320.43
5.5.360.0070.08320.43
5.5.350.0030.05020.36
5.5.340.0070.08720.88
5.5.330.0000.06020.87
5.5.320.0100.06320.91
5.5.310.0030.08720.77
5.5.300.0070.07720.88
5.5.290.0030.08720.88
5.5.280.0070.08020.82
5.5.270.0130.07720.74
5.5.260.0070.08020.84
5.5.250.0100.08720.66
5.5.240.0070.07020.21
5.5.230.0070.08320.25
5.5.220.0070.05720.09
5.5.210.0130.04320.29
5.5.200.0100.03720.25
5.5.190.0070.06020.21
5.5.180.0100.07020.14
5.5.160.0070.06020.25
5.5.150.0030.04320.26
5.5.140.0030.04319.98
5.5.130.0070.03720.25
5.5.120.0000.04320.06
5.5.110.0070.03720.23
5.5.100.0000.05320.09
5.5.90.0070.03320.00
5.5.80.0000.04020.08
5.5.70.0030.03720.12
5.5.60.0070.03720.03
5.5.50.0070.03720.13
5.5.40.0130.02719.91
5.5.30.0100.03320.14
5.5.20.0000.04020.04
5.5.10.0070.02720.00
5.5.00.0070.03720.04
5.4.450.0070.07019.42
5.4.440.0070.07719.13
5.4.430.0100.07319.43
5.4.420.0030.04719.37
5.4.410.0070.07719.32
5.4.400.0030.04018.98
5.4.390.0130.04319.14
5.4.380.0130.04018.82
5.4.370.0030.05319.17
5.4.360.0070.04719.01
5.4.350.0070.03318.96
5.4.340.0070.04019.14
5.4.320.0030.04019.05
5.4.310.0030.04018.98
5.4.300.0000.04319.04
5.4.290.0000.04019.12
5.4.280.0100.03318.94
5.4.270.0030.03719.09
5.4.260.0030.03319.07
5.4.250.0000.03719.12
5.4.240.0000.04018.97
5.4.230.0070.03318.81
5.4.220.0100.06318.97
5.4.210.0030.03719.09
5.4.200.0030.03019.06
5.4.190.0000.03319.02
5.4.180.0070.03319.02
5.4.170.0000.04019.10
5.4.160.0030.04019.01
5.4.150.0070.03019.00
5.4.140.0070.03716.23
5.4.130.0030.02716.29
5.4.120.0030.03316.29
5.4.110.0030.03316.21
5.4.100.0030.03716.30
5.4.90.0000.04316.30
5.4.80.0000.03016.19
5.4.70.0000.03716.38
5.4.60.0000.03016.43
5.4.50.0000.03316.27
5.4.40.0100.02716.46
5.4.30.0000.03316.30
5.4.20.0070.03016.30
5.4.10.0030.03316.30
5.4.00.0000.04015.67
5.3.290.0030.04014.52
5.3.280.0070.04714.50
5.3.270.0030.03314.59
5.3.260.0000.04314.58
5.3.250.0000.04314.56
5.3.240.0030.03314.42
5.3.230.0070.03714.45
5.3.220.0000.04014.42
5.3.210.0070.03314.39
5.3.200.0030.03314.55
5.3.190.0000.03314.55
5.3.180.0000.03714.39
5.3.170.0100.03314.54
5.3.160.0000.04714.52
5.3.150.0000.03714.53
5.3.140.0070.03314.51
5.3.130.0030.03714.49
5.3.120.0000.03314.45
5.3.110.0070.03014.50
5.3.100.0000.04014.01
5.3.90.0030.03714.01
5.3.80.0000.04013.79
5.3.70.0000.03714.00
5.3.60.0070.03313.96
5.3.50.0030.03313.95
5.3.40.0000.05313.88
5.3.30.0030.07313.89
5.3.20.0070.02713.62
5.3.10.0030.06713.61
5.3.00.0000.05313.58
5.2.170.0000.03011.50
5.2.160.0000.03311.50
5.2.150.0000.03011.50
5.2.140.0030.04011.50
5.2.130.0000.03011.50
5.2.120.0000.03711.50
5.2.110.0030.05311.50
5.2.100.0000.06311.50
5.2.90.0070.04311.50
5.2.80.0070.04311.50
5.2.70.0030.05311.50
5.2.60.0000.04311.50
5.2.50.0000.06711.50
5.2.40.0030.04011.50
5.2.30.0030.03711.50
5.2.20.0000.05311.50
5.2.10.0030.03311.50
5.2.00.0070.05011.50
5.1.60.0000.05311.50
5.1.50.0030.04711.50
5.1.40.0030.05011.50
5.1.30.0100.05011.50
5.1.20.0030.04311.50
5.1.10.0030.05311.50
5.1.00.0070.05011.50
5.0.50.0030.04311.50
5.0.40.0100.03711.50
5.0.30.0000.05011.50
5.0.20.0100.03011.50
5.0.10.0000.04311.50
5.0.00.0000.05311.50
4.4.90.0000.01711.50
4.4.80.0030.03011.50
4.4.70.0030.02711.50
4.4.60.0000.03011.50
4.4.50.0000.03011.50
4.4.40.0070.04711.50
4.4.30.0000.02311.50
4.4.20.0000.03711.50
4.4.10.0000.03011.50
4.4.00.0000.05711.50
4.3.110.0030.02711.50
4.3.100.0000.02311.50
4.3.90.0000.03311.50
4.3.80.0000.03011.50
4.3.70.0000.03311.50
4.3.60.0000.03311.50
4.3.50.0000.02711.50
4.3.40.0030.02711.50
4.3.30.0030.03311.50
4.3.20.0070.02711.50
4.3.10.0000.03311.50
4.3.00.0070.02311.50

preferences:
71.36 ms | 401 KiB | 5 Q