3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = "Salz in der Suppe"; $url1 = "http://gibtsnicht.eazy-living.de/?p=91"; $url2 = "http://gibtsnicht.eazy-living.de/?p=92"; $password_hash = crypt($url1, $salt); if (crypt($url1, $password_hash) == $password_hash){ echo "I'm on!\n"; } if (crypt($url2, $password_hash) == $password_hash){ echo "I'm on but should not be!\n"; } echo "=============================\n"; $salt = '$2y$07$usesomesillystringforsalt$'; $url1 = "http://gibtsnicht.eazy-living.de/?p=91"; $url2 = "http://gibtsnicht.eazy-living.de/?p=92"; $password_hash = crypt($url1, $salt); if (crypt($url1, $password_hash) == $password_hash){ echo "I'm on!\n"; } if (crypt($url2, $password_hash) == $password_hash){ echo "I'm on but should not be!\n"; }

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.0100.04018.36
8.3.50.0170.03317.93
8.3.40.0100.04118.79
8.3.30.0030.04819.09
8.3.20.0060.02120.33
8.3.10.0030.02423.66
8.3.00.0070.02019.56
8.2.180.0130.04616.50
8.2.170.0100.05522.96
8.2.160.0070.04522.23
8.2.150.0070.02024.18
8.2.140.0030.02424.66
8.2.130.0090.01826.16
8.2.120.0030.02421.22
8.2.110.0040.02519.46
8.2.100.0070.02717.78
8.2.90.0030.02619.20
8.2.80.0030.02717.97
8.2.70.0030.02617.75
8.2.60.0030.02717.93
8.2.50.0030.02718.07
8.2.40.0060.02520.01
8.2.30.0000.02918.36
8.2.20.0000.02917.75
8.2.10.0030.02618.14
8.2.00.0030.02619.41
8.1.280.0070.04325.92
8.1.270.0070.02322.26
8.1.260.0030.02326.35
8.1.250.0090.01828.09
8.1.240.0040.02519.64
8.1.230.0070.02720.87
8.1.220.0040.02618.69
8.1.210.0100.02318.77
8.1.200.0000.03217.36
8.1.190.0030.02617.25
8.1.180.0030.02618.10
8.1.170.0030.02718.55
8.1.160.0000.03322.10
8.1.150.0070.02320.50
8.1.140.0070.02317.52
8.1.130.0000.03017.46
8.1.120.0000.02917.54
8.1.110.0070.02317.48
8.1.100.0040.02517.59
8.1.90.0040.02517.55
8.1.80.0000.02917.58
8.1.70.0030.02617.48
8.1.60.0030.02717.55
8.1.50.0070.02417.61
8.1.40.0100.02017.61
8.1.30.0030.02717.64
8.1.20.0030.02617.73
8.1.10.0030.02617.56
8.1.00.0000.03017.52
8.0.300.0030.02618.77
8.0.290.0060.02316.88
8.0.280.0030.02718.51
8.0.270.0030.02617.33
8.0.260.0030.02616.98
8.0.250.0070.02316.88
8.0.240.0000.02916.95
8.0.230.0000.02916.99
8.0.220.0040.02816.84
8.0.210.0040.02616.94
8.0.200.0030.02617.00
8.0.190.0000.03016.88
8.0.180.0030.02716.88
8.0.170.0030.02616.86
8.0.160.0000.02916.96
8.0.150.0040.02516.85
8.0.140.0030.02616.89
8.0.130.0060.02213.36
8.0.120.0000.02916.88
8.0.110.0060.02216.80
8.0.100.0070.02316.90
8.0.90.0070.02316.75
8.0.80.0070.04316.91
8.0.70.0030.02616.90
8.0.60.0030.02617.04
8.0.50.0030.02616.87
8.0.30.0110.03917.09
8.0.20.0110.03917.40
8.0.10.0040.02517.05
8.0.00.0050.04616.86
7.4.330.0030.02415.20
7.4.320.0030.02716.68
7.4.300.0000.02916.50
7.4.290.0070.02216.50
7.4.280.0030.02716.73
7.4.270.0030.02616.64
7.4.260.0040.02516.61
7.4.250.0000.02916.60
7.4.240.0050.02416.61
7.4.230.0030.02516.75
7.4.220.0160.05216.52
7.4.210.0090.03716.61
7.4.200.0000.02916.51
7.4.160.0070.04116.69
7.4.150.0130.03617.40
7.4.140.0130.03617.86
7.4.130.0080.04216.63
7.4.120.0110.03616.63
7.4.110.0100.03916.46
7.4.100.0160.03016.69
7.4.90.0000.04716.60
7.4.80.0260.03519.39
7.4.70.0120.03416.65
7.4.60.0130.03516.59
7.4.50.0070.03416.57
7.4.40.0100.03816.69
7.4.30.0150.03316.55
7.4.00.0030.03414.76
7.3.330.0030.02613.16
7.3.320.0030.02313.09
7.3.310.0030.02516.25
7.3.300.0040.02516.24
7.3.290.0060.04116.32
7.3.280.0070.04716.29
7.3.270.0190.03817.40
7.3.260.0100.03916.36
7.3.250.0120.03716.49
7.3.240.0170.03816.50
7.3.230.0040.04416.39
7.3.210.0060.04116.50
7.3.200.0130.03519.39
7.3.190.0030.04416.27
7.3.180.0070.04016.43
7.3.170.0100.04016.55
7.3.160.0070.04116.28
7.3.120.0070.03114.67
7.2.330.0160.03316.61
7.2.320.0100.04616.67
7.2.310.0100.03816.67
7.2.300.0150.03216.46
7.2.290.0130.03316.59
7.2.60.0040.03517.00
7.2.50.0070.03117.01
7.1.200.0100.02615.83
7.1.70.0000.03517.23
7.1.60.0130.06219.70
7.1.50.0070.06817.00
7.1.00.0030.11322.43
7.0.200.0070.03016.75
7.0.140.0000.11322.12
7.0.60.0070.12019.93
7.0.50.0070.12317.96
7.0.40.0030.07320.46
7.0.30.0230.06720.16
7.0.20.0170.11320.25
7.0.10.0170.07320.19
7.0.00.0030.10720.14
5.6.280.0070.11020.93
5.6.210.0070.06020.63
5.6.200.0070.07318.22
5.6.190.0130.10020.66
5.6.180.0000.07020.67
5.6.170.0370.07720.56
5.6.160.0200.10720.52
5.6.150.0070.11718.18
5.6.140.0130.08018.18
5.6.130.0030.07718.24
5.6.120.0070.06021.00
5.6.110.0100.06021.04
5.6.100.0030.08321.09
5.6.90.0170.11721.16
5.6.80.0070.11320.52
5.6.70.3900.06020.53
5.5.350.0070.09720.46
5.5.340.0130.10718.05
5.5.330.0100.10320.30
5.5.320.0230.10320.17
5.5.310.0170.07020.24
5.5.300.0030.06318.04
5.5.290.0100.07717.95
5.5.280.0030.06320.89
5.5.270.0070.11720.68
5.5.260.0070.11320.92
5.5.250.0130.09720.71
5.5.240.0030.08320.15
5.4.450.0300.06319.16
5.4.440.0170.06743.92
5.4.430.0430.05043.91
5.4.420.0270.06743.90
5.4.410.0600.06743.90
5.4.400.0400.06743.89
5.4.390.0500.06043.87
5.4.380.0130.09018.64
5.4.370.0170.07718.63
5.4.360.0230.07718.68
5.4.350.0130.08318.70
5.4.340.0200.07718.68
5.4.320.0080.05612.52
5.4.310.0090.05812.51
5.4.300.0100.05612.52
5.4.290.0080.05912.51
5.4.280.0070.05712.41
5.4.270.0080.06012.41
5.4.260.0040.06312.41
5.4.250.0100.06112.41
5.4.240.0090.05612.41
5.4.230.0090.05812.40
5.4.220.0120.06112.40
5.4.210.0030.06312.40
5.4.200.0070.06012.40
5.4.190.0070.05812.39
5.4.180.0080.06012.39
5.4.170.0030.06712.41
5.4.160.0080.06012.41
5.4.150.0080.05612.40
5.4.140.0090.05712.08
5.4.130.0100.05512.07
5.4.120.0080.05712.03
5.4.110.0070.06712.03
5.4.100.0070.06112.03
5.4.90.0070.06012.03
5.4.80.0070.06612.02
5.4.70.0040.06012.02
5.4.60.0080.05712.02
5.4.50.0110.05712.02
5.4.40.0060.06612.01
5.4.30.0060.06612.01
5.4.20.0100.05712.01
5.4.10.0080.05712.00
5.4.00.0040.06011.50
5.3.290.0050.07012.80
5.3.280.0110.06212.71
5.3.270.0090.06412.72
5.3.260.0090.06312.72
5.3.250.0090.06412.72
5.3.240.0090.06312.72
5.3.230.0100.07012.71
5.3.220.0090.06212.68
5.3.210.0090.06312.68
5.3.200.0080.06512.68
5.3.190.0030.06612.68
5.3.180.0050.06012.67
5.3.170.0050.06012.67
5.3.160.0050.06612.67
5.3.150.0040.06212.68
5.3.140.0090.06012.66
5.3.130.0030.06412.66
5.3.120.0050.06312.66
5.3.110.0050.06312.66
5.3.100.0100.05612.14
5.3.90.0090.06012.12
5.3.80.0090.06312.12
5.3.70.0060.06212.12
5.3.60.0090.03312.10
5.3.50.0070.03612.05
5.3.40.0080.04112.04
5.3.30.0060.04512.01
5.3.20.0050.03611.78
5.3.10.0040.03811.75
5.3.00.0040.03911.74
5.2.170.0040.0329.33
5.2.160.0050.0309.33
5.2.150.0070.0319.33
5.2.140.0080.0309.32
5.2.130.0070.0269.29
5.2.120.0060.0319.29
5.2.110.0070.0319.29
5.2.100.0040.0309.28
5.2.90.0090.0329.29
5.2.80.0100.0279.29
5.2.70.0040.0319.29
5.2.60.0060.0299.24
5.2.50.0060.0349.21
5.2.40.0050.0289.18
5.2.30.0050.0369.16
5.2.20.0050.0299.15
5.2.10.0070.0359.07
5.2.00.0050.0338.93
5.1.60.0050.0238.21
5.1.50.0050.0248.21
5.1.40.0050.0238.20
5.1.30.0030.0278.54
5.1.20.0010.0308.56
5.1.10.0060.0348.29
5.1.00.0030.0268.29
5.0.50.0030.0216.78
5.0.40.0030.0226.64
5.0.30.0060.0336.45
5.0.20.0040.0206.42
5.0.10.0020.0256.40
5.0.00.0040.0316.40
4.4.90.0030.0154.82
4.4.80.0030.0154.80
4.4.70.0020.0224.79
4.4.60.0020.0174.80
4.4.50.0030.0154.82
4.4.40.0010.0274.81
4.4.30.0020.0174.81
4.4.20.0030.0174.87
4.4.10.0040.0144.87
4.4.00.0000.0274.84
4.3.110.0040.0154.74
4.3.100.0040.0144.73
4.3.90.0010.0164.72
4.3.80.0030.0244.73
4.3.70.0010.0164.71
4.3.60.0020.0154.72
4.3.50.0040.0144.72
4.3.40.0000.0274.67
4.3.30.0020.0173.49
4.3.20.0040.0143.46
4.3.10.0020.0153.41
4.3.00.0070.01743.91

preferences:
69.44 ms | 400 KiB | 5 Q