3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(1^1,0^0); /* $pw = 'test123'; $pwInDb = sha1(sha1($pw)); $scramble = mt_rand(); //token $stage1_hash = sha1($pw); $token = sha1($scramble . sha1($stage1_hash)) ^ $stage1_hash; $stage1_hash = $token ^ sha1($scramble . $pwInDb); echo '<pre>'; echo sha1($stage1_hash); echo "\n"; echo $pwInDb; */

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.0070.00716.38
8.3.50.0130.00721.95
8.3.40.0100.01018.60
8.3.30.0000.01418.92
8.3.20.0000.00920.19
8.3.10.0000.00823.66
8.3.00.0080.00319.13
8.2.180.0130.01018.16
8.2.170.0070.01322.96
8.2.160.0030.01020.53
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00721.99
8.2.110.0090.00022.08
8.2.100.0060.00617.78
8.2.90.0000.00819.11
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0000.00817.80
8.2.50.0050.00318.07
8.2.40.0070.00018.16
8.2.30.0000.00717.91
8.2.20.0050.00217.55
8.2.10.0030.00517.50
8.2.00.0040.00417.54
8.1.280.0170.00325.92
8.1.270.0030.00624.02
8.1.260.0070.00326.35
8.1.250.0080.00028.09
8.1.240.0040.00423.92
8.1.230.0070.00419.05
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0000.00717.16
8.1.180.0050.00318.10
8.1.170.0060.00318.66
8.1.160.0040.00421.85
8.1.150.0040.00418.46
8.1.140.0040.00417.24
8.1.130.0030.00317.80
8.1.120.0030.00417.35
8.1.110.0080.00017.28
8.1.100.0030.00517.33
8.1.90.0040.00417.22
8.1.80.0040.00417.27
8.1.70.0040.00417.27
8.1.60.0080.00017.35
8.1.50.0000.00817.37
8.1.40.0070.00017.34
8.1.30.0000.00917.45
8.1.20.0000.00717.52
8.1.10.0040.00417.40
8.1.00.0070.00017.28
8.0.300.0040.00418.77
8.0.290.0070.00016.93
8.0.280.0030.00318.30
8.0.270.0050.00317.03
8.0.260.0060.00016.65
8.0.250.0000.00616.82
8.0.240.0040.00316.78
8.0.230.0070.00016.70
8.0.220.0040.00416.70
8.0.210.0000.00816.65
8.0.200.0070.00016.79
8.0.190.0000.00816.82
8.0.180.0070.00016.67
8.0.170.0070.00016.77
8.0.160.0040.00416.73
8.0.150.0000.00716.70
8.0.140.0000.00716.66
8.0.130.0030.00313.28
8.0.120.0050.00216.72
8.0.110.0000.00816.60
8.0.100.0080.00016.65
8.0.90.0030.00316.61
8.0.80.0040.01116.80
8.0.70.0040.00416.61
8.0.60.0040.00416.63
8.0.50.0000.00716.69
8.0.30.0140.00516.97
8.0.20.0120.00917.40
8.0.10.0070.00016.90
8.0.00.0050.01216.59
7.4.330.0050.00015.00
7.4.320.0070.00016.52
7.4.300.0030.00316.44
7.4.290.0070.00016.38
7.4.280.0000.00616.36
7.4.270.0000.00616.50
7.4.260.0080.00016.46
7.4.250.0070.00016.43
7.4.240.0030.00416.40
7.4.230.0000.00716.27
7.4.220.0110.00716.38
7.4.210.0020.01116.44
7.4.200.0030.00316.26
7.4.190.0030.00316.41
7.4.160.0040.01216.45
7.4.150.0140.00317.40
7.4.140.0120.00917.86
7.4.130.0110.00616.43
7.4.120.0140.00516.38
7.4.110.0070.01016.27
7.4.100.0120.00616.45
7.4.90.0090.01216.14
7.4.80.0110.00919.39
7.4.70.0140.00316.41
7.4.60.0140.00316.34
7.4.50.0000.00816.16
7.4.40.0070.00722.77
7.4.30.0030.01316.42
7.4.00.0100.00514.63
7.3.330.0030.00313.00
7.3.320.0070.00012.96
7.3.310.0030.00316.27
7.3.300.0040.00416.11
7.3.290.0000.01416.11
7.3.280.0070.00816.13
7.3.270.0070.01017.40
7.3.260.0030.01216.34
7.3.250.0070.01116.29
7.3.240.0130.00316.32
7.3.230.0120.00916.39
7.3.210.0110.00616.35
7.3.200.0080.01119.39
7.3.190.0100.01116.47
7.3.180.0120.00416.08
7.3.170.0090.00616.27
7.3.160.0060.01116.11
7.3.120.0020.01514.81
7.3.110.0070.01314.65
7.3.100.0030.01714.54
7.3.90.0070.00714.60
7.3.80.0070.01014.77
7.3.70.0100.00314.67
7.3.60.0040.01114.65
7.3.50.0030.00914.83
7.3.40.0030.00614.72
7.3.30.0030.01314.67
7.3.20.0040.00416.67
7.3.10.0040.00816.53
7.3.00.0060.00516.55
7.2.330.0110.00716.55
7.2.320.0090.00816.43
7.2.310.0230.00316.30
7.2.300.0090.00616.38
7.2.290.0120.00416.25
7.2.250.0030.01615.02
7.2.240.0070.01014.89
7.2.230.0080.00815.06
7.2.220.0030.01314.67
7.2.210.0110.00714.95
7.2.200.0030.00914.77
7.2.190.0090.00614.80
7.2.180.0070.00714.85
7.2.170.0090.00614.51
7.2.160.0030.00914.67
7.2.150.0060.00316.51
7.2.140.0030.01016.74
7.2.130.0030.01016.58
7.2.120.0050.00716.64
7.2.110.0050.00616.68
7.2.100.0060.00616.67
7.2.90.0030.00716.70
7.2.80.0030.01016.61
7.2.70.0050.00816.87
7.2.60.0010.00816.68
7.2.50.0050.00716.57
7.2.40.0030.01016.89
7.2.30.0060.00416.59
7.2.20.0030.00916.73
7.2.10.0060.00516.53
7.2.00.0070.00716.78
7.1.330.0020.01615.70
7.1.320.0030.01415.79
7.1.310.0120.00315.63
7.1.300.0040.00715.79
7.1.290.0030.01015.55
7.1.280.0030.00915.58
7.1.270.0140.00015.71
7.1.260.0060.00615.52
7.1.250.0060.00515.35
7.1.240.0030.00915.83
7.1.230.0000.00915.49
7.1.220.0000.01315.58
7.1.210.0040.01115.71
7.1.200.0070.00715.71
7.1.190.0110.00415.67
7.1.180.0040.00815.60
7.1.170.0040.01115.67
7.1.160.0030.01015.54
7.1.150.0120.00015.48
7.1.140.0030.00515.65
7.1.130.0070.00315.45
7.1.120.0040.00815.72
7.1.110.0060.01015.53
7.1.100.0070.00715.71
7.1.90.0030.00715.53
7.1.80.0080.00415.53
7.1.70.0040.00616.34
7.1.60.0080.01117.45
7.1.50.0050.01416.30
7.1.40.0060.00315.76
7.1.30.0070.00415.48
7.1.20.0000.01415.72
7.1.10.0080.00515.60
7.1.00.0030.04118.95
7.0.330.0070.00715.25
7.0.320.0040.01115.40
7.0.310.0060.00615.26
7.0.300.0070.00715.47
7.0.290.0070.00715.25
7.0.280.0000.01115.40
7.0.270.0000.00915.25
7.0.260.0110.00415.19
7.0.250.0080.00615.07
7.0.240.0040.00815.52
7.0.230.0030.00715.54
7.0.220.0040.01115.20
7.0.210.0030.01015.14
7.0.200.0100.00515.65
7.0.190.0110.00315.19
7.0.180.0060.00315.43
7.0.170.0030.01015.07
7.0.160.0000.00915.03
7.0.150.0040.00815.37
7.0.140.0020.04018.76
7.0.130.0060.00615.35
7.0.120.0080.00415.45
7.0.110.0030.01215.07
7.0.100.0050.02317.58
7.0.90.0200.02017.50
7.0.80.0050.02217.58
7.0.70.0030.02217.68
7.0.60.0160.01817.50
7.0.50.0050.04517.86
7.0.40.0070.04116.63
7.0.30.0050.04616.73
7.0.20.0100.04316.61
7.0.10.0070.03516.78
7.0.00.0040.04316.72
5.6.400.0070.00714.07
5.6.390.0070.00414.18
5.6.380.0030.00714.46
5.6.370.0040.01114.30
5.6.360.0080.00614.04
5.6.350.0060.00613.94
5.6.340.0090.00314.00
5.6.330.0060.00314.38
5.6.320.0130.00314.23
5.6.310.0110.00414.01
5.6.300.0070.00314.41
5.6.290.0080.00014.12
5.6.280.0030.04117.56
5.6.270.0000.01514.17
5.6.260.0070.00713.91
5.6.250.0100.01817.39
5.6.240.0070.02317.42
5.6.230.0060.02417.46
5.6.220.0080.01817.35
5.6.210.0030.02617.16
5.6.200.0070.01817.72
5.6.190.0050.02717.55
5.6.180.0030.04317.58
5.6.170.0050.04317.59
5.6.160.0100.04517.63
5.6.150.0080.04517.54
5.6.140.0070.04317.54
5.6.130.0100.03617.55
5.6.120.0020.02817.65
5.6.110.0090.03217.73
5.6.100.0020.05117.45
5.6.90.0100.03517.76
5.6.80.0070.03417.26
5.6.70.0110.03617.16
5.6.60.0130.02817.28
5.6.50.0070.02017.31
5.6.40.0110.03217.28
5.6.30.0050.04517.18
5.6.20.0040.02917.30
5.6.10.0080.03917.43
5.6.00.0100.04217.19
5.5.380.0020.02617.34
5.5.370.0050.02317.13
5.5.360.0040.02617.12
5.5.350.0090.02517.34
5.5.340.0020.02617.40
5.5.330.0110.03917.41
5.5.320.0070.04017.30
5.5.310.0040.04417.44
5.5.300.0050.03817.47
5.5.290.0140.04017.56
5.5.280.0060.02817.47
5.5.270.0070.03817.29
5.5.260.0050.03117.50
5.5.250.0030.03017.43
5.5.240.0050.04017.16
5.5.230.0070.02517.23
5.5.220.0050.03217.08
5.5.210.0060.02017.20
5.5.200.0040.04117.10
5.5.190.0100.04317.16
5.5.180.0060.04016.98
5.5.170.0060.00913.88
5.5.160.0080.02517.05
5.5.150.0100.04116.99
5.5.140.0050.04117.04
5.5.130.0110.03616.77
5.5.120.0080.03817.04
5.5.110.0030.04517.15
5.5.100.0030.04616.97
5.5.90.0080.03816.87
5.5.80.0070.02316.89
5.5.70.0100.02417.04
5.5.60.0050.02616.98
5.5.50.0030.03317.08
5.5.40.0090.01717.19
5.5.30.0020.02717.14
5.5.20.0080.04017.11
5.5.10.0050.03117.05
5.5.00.0060.02317.04
5.4.450.0080.03715.64
5.4.440.0070.03815.56
5.4.430.0030.02415.55
5.4.420.0110.03015.68
5.4.410.0050.02315.53
5.4.400.0050.03715.52
5.4.390.0040.04515.36
5.4.380.0090.03515.43
5.4.370.0070.03415.43
5.4.360.0020.04715.46
5.4.350.0050.04415.41
5.4.340.0080.04215.32
5.4.330.0030.00311.81
5.4.320.0030.02715.31
5.4.310.0120.02215.36
5.4.300.0020.03115.46
5.4.290.0060.04015.47
5.4.280.0070.03815.44
5.4.270.0080.03815.42
5.4.260.0050.02915.42
5.4.250.0020.02815.38
5.4.240.0070.03815.38
5.4.230.0050.03015.44
5.4.220.0030.03315.46
5.4.210.0020.03215.29
5.4.200.0070.02515.42
5.4.190.0050.01815.43
5.4.180.0050.02715.31
5.4.170.0050.03615.48
5.4.160.0030.02015.41
5.4.150.0030.02515.46
5.4.140.0030.02614.02
5.4.130.0070.02014.12
5.4.120.0040.02014.08
5.4.110.0000.02814.11
5.4.100.0010.02614.03
5.4.90.0030.03014.06
5.4.80.0030.03514.11
5.4.70.0100.03514.06
5.4.60.0030.03914.10
5.4.50.0030.03113.99
5.4.40.0040.02114.12
5.4.30.0070.02414.05
5.4.20.0070.02214.02
5.4.10.0070.02314.09
5.4.00.0070.03213.79
5.3.290.0050.03013.16
5.3.280.0070.02613.13
5.3.270.0060.03313.16
5.3.260.0020.02913.18
5.3.250.0030.03313.19
5.3.240.0030.01913.21
5.3.230.0030.02313.19
5.3.220.0050.02613.18
5.3.210.0030.02313.18
5.3.200.0070.03713.14
5.3.190.0040.03713.19
5.3.180.0060.02013.11
5.3.170.0060.02113.14
5.3.160.0030.02513.09
5.3.150.0030.03513.16
5.3.140.0080.02013.18
5.3.130.0030.04013.09
5.3.120.0020.02613.14
5.3.110.0050.03213.17
5.3.100.0030.03012.91
5.3.90.0050.03912.82
5.3.80.0010.02112.79
5.3.70.0050.02512.91
5.3.60.0030.03112.89
5.3.50.0060.01712.85
5.3.40.0010.02312.83
5.3.30.0030.01812.79
5.3.20.0050.02012.68
5.3.10.0050.02412.66
5.3.00.0020.04012.72
5.2.170.0070.05712.61
5.2.160.0100.06012.61
5.2.150.0100.05712.61
5.2.140.0000.05712.61
5.2.130.0000.03312.61
5.2.120.0030.06312.61
5.2.110.0070.05312.61
5.2.100.0000.03012.61
5.2.90.0070.05712.61
5.2.80.0000.05012.61
5.2.70.0070.04712.61
5.2.60.0070.03712.61
5.2.50.0030.05712.61
5.2.40.0000.04712.61
5.2.30.0070.06012.61
5.2.20.0000.04712.61
5.2.10.0030.03312.61
5.2.00.0000.05012.61
5.1.60.0000.04012.61
5.1.50.0030.02312.61
5.1.40.0000.02712.61
5.1.30.0030.05712.61
5.1.20.0070.05312.61
5.1.10.0070.05312.61
5.1.00.0000.04312.61
5.0.50.0030.04712.61
5.0.40.0030.01712.61
5.0.30.0100.05712.61
5.0.20.0070.03712.61
5.0.10.0000.04312.61
5.0.00.0030.04712.61
4.4.90.0030.01312.61
4.4.80.0000.01712.61
4.4.70.0000.03012.61
4.4.60.0030.03012.61
4.4.50.0000.01712.61
4.4.40.0000.03012.61
4.4.30.0030.03312.61
4.4.20.0000.03012.61
4.4.10.0000.04012.61
4.4.00.0070.05012.61
4.3.110.0000.04012.61
4.3.100.0000.02312.61
4.3.90.0000.04012.61
4.3.80.0030.02712.61
4.3.70.0000.01712.61
4.3.60.0070.02712.61
4.3.50.0030.02712.61
4.3.40.0030.03312.61
4.3.30.0000.02712.61
4.3.20.0030.03012.61
4.3.10.0000.02012.61
4.3.00.0030.03012.61

preferences:
37.69 ms | 401 KiB | 5 Q