3v4l.org

run code in 300+ PHP versions simultaneously
$input = "ZtJD4aw7EbRToALr;ZtHp0QGo0EF80LG8xtR;deuW90KG9ty70e"; $default = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; $custom = "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210+/"; $encoded = strtr(base64_encode($input), $default, $custom); echo $encoded; <?php

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.60.0090.00618.30
8.3.50.0140.00321.92
8.3.40.0070.00718.67
8.3.30.0070.00718.95
8.3.20.0090.00620.16
8.3.10.0040.00422.13
8.3.00.0040.00422.36
8.2.180.0110.01118.18
8.2.170.0100.01022.96
8.2.160.0100.00320.38
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0030.01526.16
8.2.120.0060.00319.78
8.2.110.0100.00022.12
8.2.100.0120.00020.95
8.2.90.0050.00219.09
8.2.80.0050.00319.40
8.2.70.0090.00017.50
8.2.60.0050.00217.91
8.2.50.0060.00318.07
8.2.40.0080.00018.09
8.2.30.0000.00717.99
8.2.20.0070.00017.51
8.2.10.0030.00517.54
8.2.00.0030.00719.34
8.1.280.0140.00725.92
8.1.270.0110.00720.28
8.1.260.0050.00326.35
8.1.250.0060.00828.09
8.1.240.0060.00323.76
8.1.230.0070.00419.16
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0000.00717.41
8.1.180.0000.00720.20
8.1.170.0070.00318.64
8.1.160.0000.00822.14
8.1.150.0000.00718.45
8.1.140.0000.00717.36
8.1.130.0070.00017.22
8.1.120.0070.00017.31
8.1.110.0030.00517.24
8.1.100.0040.00417.23
8.1.90.0040.00417.22
8.1.80.0000.00717.32
8.1.70.0000.00717.27
8.1.60.0000.00817.51
8.1.50.0040.00417.42
8.1.40.0030.00617.27
8.1.30.0000.00817.52
8.1.20.0060.00317.53
8.1.10.0000.00817.43
8.1.00.0060.00717.38
8.0.300.0000.00718.77
8.0.290.0040.00417.16
8.0.280.0000.00818.25
8.0.270.0030.00317.13
8.0.260.0030.00316.76
8.0.250.0060.00016.84
8.0.240.0040.00416.76
8.0.230.0000.00716.81
8.0.220.0000.00716.63
8.0.210.0000.00616.75
8.0.200.0000.00816.86
8.0.190.0020.00516.82
8.0.180.0000.00716.81
8.0.170.0040.00416.84
8.0.160.0030.00316.70
8.0.150.0000.00716.74
8.0.140.0040.00416.76
8.0.130.0030.00313.23
8.0.120.0030.00616.71
8.0.110.0090.00016.77
8.0.100.0070.00016.63
8.0.90.0030.00316.80
8.0.80.0130.00416.65
8.0.70.0000.00816.63
8.0.60.0040.00416.62
8.0.50.0000.00716.63
8.0.30.0120.01116.94
8.0.20.0100.00817.40
8.0.10.0040.00416.91
8.0.00.0090.00916.58
7.4.330.0000.00615.00
7.4.320.0030.00316.24
7.4.300.0000.00616.38
7.4.290.0030.00316.30
7.4.280.0040.00416.46
7.4.270.0070.00016.30
7.4.260.0070.00316.35
7.4.250.0040.00416.39
7.4.240.0020.00516.49
7.4.230.0000.00716.26
7.4.220.0070.01316.43
7.4.210.0060.00916.48
7.4.200.0030.00316.17
7.4.190.0000.00716.56
7.4.160.0180.00316.26
7.4.150.0150.00317.40
7.4.140.0130.00417.86
7.4.130.0100.00616.35
7.4.120.0060.01216.37
7.4.110.0100.00716.46
7.4.100.0120.00616.38
7.4.90.0090.00916.49
7.4.80.0040.01519.39
7.4.70.0090.00916.19
7.4.60.0110.00516.61
7.4.50.0000.00816.17
7.4.40.0030.00722.77
7.4.30.0140.00316.39
7.3.330.0000.00512.93
7.3.320.0060.00012.97
7.3.310.0060.00016.29
7.3.300.0060.00016.09
7.3.290.0070.00716.15
7.3.280.0130.00516.18
7.3.270.0110.00717.40
7.3.260.0070.01016.30
7.3.250.0080.00916.25
7.3.240.0060.01616.05
7.3.230.0090.00916.39
7.3.210.0110.01116.29
7.3.200.0080.00819.39
7.3.190.0090.00916.32
7.3.180.0080.00816.22
7.3.170.0060.00916.35
7.3.160.0110.00616.50
7.2.330.0070.01116.27
7.2.320.0100.01416.47
7.2.310.0100.01316.34
7.2.300.0130.00416.39
7.2.290.0120.00416.26
5.4.320.0070.03512.45
5.4.310.0070.04012.45
5.4.300.0070.04312.45
5.4.290.0100.04212.45
5.4.280.0100.04012.34
5.4.270.0070.03712.34
5.4.260.0030.04012.34
5.4.250.0070.05318.88
5.4.240.0030.05718.90
5.4.230.0070.05318.70
5.4.220.0200.04718.64
5.4.210.0070.05319.02
5.4.200.0000.05718.99
5.4.190.0130.04718.77
5.4.180.0130.04318.72
5.4.170.0100.05718.83
5.4.160.0270.04718.82
5.4.150.0100.05318.91
5.4.140.0170.04316.53
5.4.130.0070.04716.49
5.4.120.0070.05016.25
5.4.110.0070.05016.53
5.4.100.0100.04316.34
5.4.90.0070.05016.34
5.4.80.0100.06316.43
5.4.70.0030.05016.21
5.4.60.0100.04316.44
5.4.50.0000.05316.21
5.4.40.0030.05016.39
5.4.30.0100.04316.47
5.4.20.0030.05016.41
5.4.10.0030.05316.23
5.4.00.0030.07315.73
5.3.290.0050.04612.80
5.3.280.0130.04714.60
5.3.270.0130.05014.61
5.3.260.0070.05714.60
5.3.250.0130.04314.62
5.3.240.0100.04714.47
5.3.230.0030.05314.61
5.3.220.0100.05014.57
5.3.210.0100.05014.41
5.3.200.0130.04314.58
5.3.190.0100.04714.43
5.3.180.0070.05314.43
5.3.170.0100.05014.65
5.3.160.0170.04014.33
5.3.150.0130.04314.71
5.3.140.0200.07014.40
5.3.130.0170.04014.31
5.3.120.0100.05014.55
5.3.110.0030.07714.32
5.3.100.0030.05314.12
5.3.90.0070.04714.02
5.3.80.0070.04714.02
5.3.70.0030.05014.02
5.3.60.0070.04713.77
5.3.50.0170.04013.95
5.3.40.0070.05013.96
5.3.30.0070.05313.75
5.3.20.0130.04313.55
5.3.10.0070.07313.34
5.3.00.0000.05313.47
5.2.170.0000.04311.16
5.2.160.0100.03311.13
5.2.150.0100.03711.15
5.2.140.0030.04011.05
5.2.130.0070.03711.00
5.2.120.0000.05311.11
5.2.110.0070.03710.93
5.2.100.0070.03311.11
5.2.90.0000.04310.99
5.2.80.0030.04311.10
5.2.70.0070.03711.09
5.2.60.0000.04310.96
5.2.50.0070.03711.01
5.2.40.0100.03310.88
5.2.30.0100.03310.97
5.2.20.0070.03710.87
5.2.10.0100.03311.03
5.2.00.0030.04010.60
5.1.60.0130.02310.22
5.1.50.0000.0409.92
5.1.40.0030.0339.91
5.1.30.0070.05010.16
5.1.20.0070.03010.26
5.1.10.0030.03310.29
5.1.00.0030.03710.02
5.0.50.0030.0278.59
5.0.40.0030.0278.55
5.0.30.0030.0438.12
5.0.20.0100.0308.41
5.0.10.0030.0278.25
5.0.00.0000.0438.30
4.4.90.0000.0236.45
4.4.80.0030.0306.45
4.4.70.0030.0206.19
4.4.60.0000.0236.18
4.4.50.0000.0236.01
4.4.40.0030.0336.01
4.4.30.0030.0206.01
4.4.20.0030.0206.01
4.4.10.0000.0276.01
4.4.00.0030.0406.01
4.3.110.0030.0206.01
4.3.100.0070.0176.01
4.3.90.0000.0306.01
4.3.80.0030.0406.01
4.3.70.0000.0206.01
4.3.60.0000.0206.01
4.3.50.0030.0206.01
4.3.40.0100.0236.01
4.3.30.0030.0206.01
4.3.20.0030.0206.01
4.3.10.0030.0176.01
4.3.00.0030.0277.30

preferences:
37.38 ms | 401 KiB | 5 Q