3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($crypt){ $c=$b=$a=array(); $d=array('?', '(' , '@' , ';' , '$','#',']','&','*'); range($d,'a','z'); } ?>

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.0140.00716.38
8.3.50.0130.00622.03
8.3.40.0090.00618.84
8.3.30.0030.01218.34
8.3.20.0070.00720.07
8.3.10.0080.00023.83
8.3.00.0040.00419.84
8.2.180.0150.00616.50
8.2.170.0170.00322.96
8.2.160.0100.00320.53
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0090.00019.09
8.2.120.0000.00826.35
8.2.110.0090.00020.46
8.2.100.0060.00617.80
8.2.90.0030.00619.28
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0000.00917.91
8.2.50.0060.00618.07
8.2.40.0060.00322.12
8.2.30.0000.00720.68
8.2.20.0040.00417.55
8.2.10.0000.00818.04
8.2.00.0040.00417.88
8.1.280.0110.00425.92
8.1.270.0070.00720.42
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0040.00422.25
8.1.230.0080.00417.60
8.1.220.0000.01117.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0050.00317.11
8.1.180.0070.00018.10
8.1.170.0040.00418.66
8.1.160.0050.00320.59
8.1.150.0050.00218.72
8.1.140.0090.00019.55
8.1.130.0030.00317.44
8.1.120.0040.00417.31
8.1.110.0050.00217.27
8.1.100.0000.00817.33
8.1.90.0040.00417.30
8.1.80.0000.00717.27
8.1.70.0040.00417.24
8.1.60.0000.00717.47
8.1.50.0040.00417.31
8.1.40.0000.00817.47
8.1.30.0050.00317.42
8.1.20.0040.00417.42
8.1.10.0000.00817.42
8.1.00.0040.00417.28
8.0.300.0050.00318.77
8.0.290.0000.00816.58
8.0.280.0040.00418.38
8.0.270.0030.00317.24
8.0.260.0040.00417.05
8.0.250.0000.00716.86
8.0.240.0080.00016.80
8.0.230.0030.00316.68
8.0.220.0000.00716.82
8.0.210.0030.00316.74
8.0.200.0040.00416.81
8.0.190.0000.00816.75
8.0.180.0030.00516.82
8.0.170.0060.00616.79
8.0.160.0050.00216.63
8.0.150.0070.00316.59
8.0.140.0040.00416.73
8.0.130.0040.00413.19
8.0.120.0080.00016.78
8.0.110.0040.00416.73
8.0.100.0000.00816.73
8.0.90.0030.00516.67
8.0.80.0090.00616.73
8.0.70.0050.00316.71
8.0.60.0040.00416.84
8.0.50.0000.00716.75
8.0.30.0030.01516.78
8.0.20.0100.00717.40
8.0.10.0000.00816.86
8.0.00.0100.00716.62
7.4.330.0000.00516.69
7.4.320.0030.00316.48
7.4.300.0030.00316.47
7.4.290.0030.00316.23
7.4.280.0020.00516.28
7.4.270.0040.00416.46
7.4.260.0030.00316.38
7.4.250.0080.00016.25
7.4.240.0010.00616.37
7.4.230.0070.00016.57
7.4.220.0060.01016.41
7.4.210.0110.00516.48
7.4.200.0000.00716.57
7.4.160.0030.01316.41
7.4.150.0130.00617.40
7.4.140.0130.00717.86
7.4.130.0120.00516.29
7.4.120.0050.01616.30
7.4.110.0090.00916.34
7.4.100.0030.01416.52
7.4.90.0060.01216.33
7.4.80.0130.00619.39
7.4.70.0120.01216.62
7.4.60.0100.00616.45
7.4.50.0100.00516.45
7.4.40.0100.00716.17
7.4.30.0120.00616.46
7.4.00.0000.01414.59
7.3.330.0030.00313.02
7.3.320.0040.00313.10
7.3.310.0040.00416.07
7.3.300.0000.00716.00
7.3.290.0000.00816.22
7.3.280.0100.00716.16
7.3.270.0100.00717.40
7.3.260.0200.00316.27
7.3.250.0140.00716.33
7.3.240.0100.00616.27
7.3.230.0060.01216.40
7.3.210.0100.00716.19
7.3.200.0130.00316.11
7.3.190.0070.01016.19
7.3.180.0150.00616.28
7.3.170.0040.01716.48
7.3.160.0070.01016.29
7.3.10.0100.00516.25
7.3.00.0110.00016.57
7.2.330.0110.00716.29
7.2.320.0090.00916.45
7.2.310.0120.00616.32
7.2.300.0070.01016.52
7.2.290.0070.01016.21
7.2.130.0020.01116.64
7.2.120.0090.00616.43
7.2.110.0070.00716.50
7.2.100.0030.01216.83
7.2.90.0050.00716.68
7.2.80.0060.00616.83
7.2.70.0120.00216.71
7.2.60.0050.01016.52
7.2.50.0120.00316.83
7.2.40.0070.00616.70
7.2.30.0080.00616.56
7.2.20.0090.00516.74
7.2.10.0070.00816.65
7.2.00.0060.00817.56
7.1.250.0070.00815.37
7.1.100.0060.00617.92
7.1.70.0040.00816.68
7.1.60.0100.01319.52
7.1.50.0130.00616.46
7.1.00.0000.08022.54
7.0.200.0200.00714.74
7.0.60.0070.06719.86
7.0.50.0000.04317.80
7.0.40.0230.07020.14
7.0.30.0200.03720.09
7.0.20.0230.06720.26
7.0.10.0070.08720.30
7.0.00.0100.08020.23
5.6.280.0070.04320.91
5.6.210.0070.08320.55
5.6.200.0100.08318.12
5.6.190.0070.08020.48
5.6.180.0200.05020.67
5.6.170.0230.05020.71
5.6.160.0030.09020.52
5.6.150.0030.08318.19
5.6.140.0130.07318.23
5.6.130.0100.08318.24
5.6.120.0030.04720.97
5.6.110.0030.05021.05
5.6.100.0030.07721.09
5.6.90.0130.07320.98
5.6.80.0030.08320.52
5.5.350.0100.08020.41
5.5.340.0230.06318.02
5.5.330.0030.07720.32
5.5.320.0530.05320.34
5.5.310.0030.05020.27
5.5.300.0100.05317.95
5.5.290.0030.07717.98
5.5.280.0100.03320.74
5.5.270.0070.08020.88
5.5.260.0070.04020.76
5.5.250.0230.03020.78
5.5.240.0300.06020.16

preferences:
32.39 ms | 401 KiB | 5 Q