3v4l.org

run code in 300+ PHP versions simultaneously
<?php // See the password_hash() example to see where this came from. $hash = '$2y$07$VGFqbnkgc2FsYXQgdiBoYOojvpDZsWNyJXW9HjlyFJZPIjNvlP9DS'; if (password_verify('tajneheslo', $hash)) { echo 'Password is valid!'; } else { echo 'Invalid password.'; }

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.0030.02316.63
8.3.50.0080.02321.87
8.3.40.0100.01718.56
8.3.30.0130.01918.95
8.3.20.0030.01020.25
8.3.10.0000.01423.53
8.3.00.0040.01120.58
8.2.180.0030.02416.50
8.2.170.0100.01622.96
8.2.160.0060.01922.12
8.2.150.0090.00624.18
8.2.140.0070.00724.66
8.2.130.0030.01026.16
8.2.120.0000.01422.21
8.2.110.0000.01722.15
8.2.100.0060.01317.91
8.2.90.0030.01319.05
8.2.80.0070.00718.03
8.2.70.0030.01617.38
8.2.60.0030.01217.93
8.2.50.0070.00718.07
8.2.40.0090.00918.21
8.2.30.0030.01217.86
8.2.20.0000.01517.59
8.2.10.0100.00717.64
8.2.00.0060.00917.57
8.1.270.0000.01622.02
8.1.260.0040.01126.35
8.1.250.0070.00728.09
8.1.240.0070.01023.91
8.1.230.0090.00920.93
8.1.220.0030.01217.74
8.1.210.0040.01118.77
8.1.200.0090.00917.23
8.1.190.0000.01517.41
8.1.180.0000.01518.10
8.1.170.0090.00618.57
8.1.160.0070.01021.82
8.1.150.0030.01218.52
8.1.140.0000.01517.38
8.1.130.0000.01417.73
8.1.120.0000.01517.36
8.1.110.0030.01217.21
8.1.100.0070.00717.37
8.1.90.0000.01417.39
8.1.80.0000.01417.29
8.1.70.0040.01117.23
8.1.60.0030.01517.40
8.1.50.0040.01117.34
8.1.40.0030.01317.33
8.1.30.0060.00917.44
8.1.20.0040.01117.49
8.1.10.0090.00617.52
8.1.00.0030.01317.43
8.0.300.0000.01418.77
8.0.290.0040.01117.15
8.0.280.0000.01418.40
8.0.270.0060.00817.27
8.0.260.0070.01016.81
8.0.250.0030.01016.77
8.0.240.0070.01016.82
8.0.230.0030.01016.75
8.0.220.0080.00516.75
8.0.210.0000.01416.82
8.0.200.0000.01416.83
8.0.190.0030.01116.76
8.0.180.0080.00816.71
8.0.170.0000.01616.77
8.0.160.0030.01216.89
8.0.150.0000.01616.67
8.0.140.0070.00716.78
8.0.130.0000.01413.26
8.0.120.0000.01516.82
8.0.110.0000.01416.78
8.0.100.0000.01416.79
8.0.90.0040.01116.63
8.0.80.0100.01716.83
8.0.70.0040.01116.69
8.0.60.0040.01116.88
8.0.50.0000.01516.77
8.0.30.0130.01916.94
8.0.20.0110.01917.40
8.0.10.0030.01216.84
8.0.00.0150.01316.60
7.4.330.0060.00615.03
7.4.320.0000.01416.55
7.4.300.0030.01016.45
7.4.290.0000.01416.41
7.4.280.0030.01316.52
7.4.270.0030.01116.51
7.4.260.0000.01516.53
7.4.250.0040.01216.35
7.4.240.0020.01316.48
7.4.230.0030.01016.43
7.4.220.0120.01816.64
7.4.210.0080.01716.62
7.4.200.0000.01516.60
7.4.190.0000.01516.60
7.4.160.0000.02716.46
7.4.150.0140.01417.40
7.4.140.0140.01617.86
7.4.130.0070.02016.57
7.4.120.0090.01916.57
7.4.110.0120.01516.25
7.4.100.0030.03216.43
7.4.90.0160.01316.48
7.4.80.0030.02416.43
7.4.70.0140.01416.62
7.4.60.0030.02316.32
7.4.50.0090.00916.23
7.4.40.0060.01622.77
7.4.30.0100.01616.31
7.4.10.0100.01714.96
7.4.00.0100.01514.95
7.3.330.0060.00612.84
7.3.320.0030.00912.98
7.3.310.0040.01116.21
7.3.300.0000.01415.99
7.3.290.0060.01916.18
7.3.280.0140.01616.20
7.3.270.0100.02317.40
7.3.260.0130.02016.29
7.3.250.0150.01516.40
7.3.240.0070.02016.09
7.3.230.0120.01516.42
7.3.210.0090.01916.33
7.3.200.0100.01719.39
7.3.190.0100.01716.11
7.3.180.0030.02416.43
7.3.170.0070.02016.40
7.3.160.0100.01616.53
7.3.130.0000.02614.64
7.3.120.0050.01714.78
7.3.110.0050.02114.61
7.3.100.0090.01514.76
7.3.90.0080.01514.72
7.3.80.0060.01614.76
7.3.70.0070.01914.43
7.3.60.0020.02214.70
7.3.50.0040.01814.63
7.3.40.0030.01914.63
7.3.30.0030.01714.73
7.3.20.0020.02216.55
7.3.10.0050.01916.52
7.3.00.0020.02116.54
7.2.330.0030.02416.56
7.2.320.0090.01816.46
7.2.310.0120.01516.36
7.2.300.0100.01716.45
7.2.290.0090.01916.32
7.2.260.0130.01015.07
7.2.250.0050.02014.94
7.2.240.0030.02314.88
7.2.230.0000.02114.84
7.2.220.0030.02214.79
7.2.210.0050.01314.77
7.2.200.0050.01814.75
7.2.190.0080.01514.66
7.2.180.0060.01514.83
7.2.170.0050.01714.71
7.2.160.0100.01314.61
7.2.150.0070.02016.42
7.2.140.0030.01516.76
7.2.130.0100.01016.86
7.2.120.0000.02316.55
7.2.110.0090.01516.91
7.2.100.0000.02316.73
7.2.90.0040.01816.44
7.2.80.0100.01316.75
7.2.70.0100.01316.62
7.2.60.0090.01616.67
7.2.50.0090.00916.86
7.2.40.0070.01316.60
7.2.30.0070.01716.83
7.2.20.0030.01716.65
7.2.10.0070.01716.97
7.2.00.0070.01617.87
7.1.330.0030.01915.75
7.1.320.0050.01615.70
7.1.310.0020.02015.68
7.1.300.0050.01915.64
7.1.290.0030.01715.79
7.1.280.0050.01615.72
7.1.270.0020.01815.76
7.1.260.0030.02015.72
7.1.250.0000.02315.34
7.1.240.0060.01615.86
7.1.230.0000.02315.74
7.1.220.0090.00915.55
7.1.210.0030.02015.52
7.1.200.0030.01815.39
7.1.190.0000.01815.53
7.1.180.0100.01315.60
7.1.170.0130.01015.69
7.1.160.0030.01715.47
7.1.150.0030.02115.71
7.1.140.0030.01515.55
7.1.130.0000.01915.82
7.1.120.0060.01615.42
7.1.110.0030.02015.91
7.1.100.0100.01217.04
7.1.90.0000.01615.89
7.1.80.0030.01515.72
7.1.70.0020.01816.57
7.1.60.0100.01517.52
7.1.50.0020.02516.19
7.1.40.0040.01815.76
7.1.30.0030.01915.78
7.1.20.0000.01815.63
7.1.10.0030.01715.85
7.1.00.0030.06318.99
7.0.330.0030.01715.32
7.0.320.0030.02015.38
7.0.310.0000.02015.43
7.0.300.0030.01715.20
7.0.290.0030.01315.32
7.0.280.0070.02315.24
7.0.270.0070.01715.55
7.0.260.0040.01915.13
7.0.250.0060.01515.27
7.0.240.0070.01415.06
7.0.230.0030.01715.31
7.0.220.0100.01015.32
7.0.210.0030.01715.31
7.0.200.0070.01515.71
7.0.190.0030.02015.38
7.0.180.0030.01915.30
7.0.170.0040.01615.50
7.0.160.0040.01815.40
7.0.150.0040.01515.28
7.0.140.0080.04818.57
7.0.130.0030.01715.30
7.0.120.0040.01115.52
7.0.110.0090.01215.37
7.0.100.0030.03317.71
7.0.90.0000.03817.64
7.0.80.0070.03417.49
7.0.70.0140.04317.70
7.0.60.0070.05417.70
7.0.50.0070.05417.90
7.0.40.0050.05616.75
7.0.30.0030.05616.74
7.0.20.0020.04316.74
7.0.10.0080.05516.70
7.0.00.0100.05216.65
5.6.400.0100.01314.34
5.6.390.0070.01414.60
5.6.380.0040.01914.12
5.6.370.0070.01313.91
5.6.360.0000.02114.34
5.6.350.0030.01614.07
5.6.340.0130.00914.50
5.6.330.0030.01914.04
5.6.320.0040.02214.66
5.6.310.0000.02214.66
5.6.300.0000.02013.93
5.6.290.0070.01614.46
5.6.280.0080.04917.73
5.6.270.0000.01814.36
5.6.260.0070.01314.18
5.6.250.0020.03617.41
5.6.240.0050.03517.43
5.6.230.0050.04017.50
5.6.220.0050.05517.28
5.6.210.0050.03717.29
5.6.200.0160.04417.60
5.6.190.0030.05517.73
5.6.180.0050.04517.51
5.6.170.0120.04917.59
5.6.160.0100.05017.53
5.6.150.0070.05517.62
5.6.140.0070.05117.79
5.6.130.0050.06017.67
5.6.120.0080.05417.71
5.6.110.0050.05517.55
5.6.100.0130.04817.55
5.6.90.0050.05417.73
5.6.80.0080.05017.31
5.6.70.0120.03217.31
5.6.60.0090.04617.29
5.6.50.0120.04417.31
5.6.40.0020.05417.44
5.6.30.0130.05017.38
5.6.20.0070.05517.32
5.6.10.0050.05317.19
5.6.00.0080.04517.29
5.5.380.0100.02517.40
5.5.370.0070.04017.28
5.5.360.0050.05917.20
5.5.350.0070.05017.35
5.5.340.0080.05317.56
5.5.330.0030.05917.46
5.5.320.0070.03617.60
5.5.310.0080.05217.33
5.5.300.0100.05317.66
5.5.290.0050.05317.40
5.5.280.0070.05617.62
5.5.270.0120.04717.49
5.5.260.0030.05917.61
5.5.250.0110.05117.47
5.5.240.0080.05217.24
5.5.230.0100.04917.22
5.5.220.0070.04917.13
5.5.210.0170.03017.09
5.5.200.0070.05317.19
5.5.190.0100.03417.15
5.5.180.0070.05617.26
5.5.170.0100.01314.31
5.5.160.0100.04717.06
5.5.150.0110.05117.09
5.5.140.0030.05017.28
5.5.130.0080.05017.08
5.5.120.0070.05117.20
5.5.110.0100.05117.06
5.5.100.0130.04317.11
5.5.90.0070.05317.04
5.5.80.0080.05217.16
5.5.70.0100.05117.24
5.5.60.0050.05817.03
5.5.50.0080.05217.09
5.5.40.0030.05717.14
5.5.30.0100.05017.17
5.5.20.0080.05016.96
5.5.10.0030.05517.18
5.5.00.0050.05717.13
5.4.450.0050.04515.59
5.4.440.0050.04415.42
5.4.430.0120.03215.56
5.4.420.0030.03015.59
5.4.410.0050.03715.48
5.4.400.0030.03815.43
5.4.390.0070.03115.42
5.4.380.0070.04015.27
5.4.370.0050.03815.38
5.4.360.0030.04415.40
5.4.350.0100.03215.40
5.4.340.0070.04015.34
5.4.330.0090.00311.73
5.4.320.0080.04015.40
5.4.310.0050.04015.38
5.4.300.0130.03415.28
5.4.290.0080.03615.39
5.4.280.0030.04115.27
5.4.270.0120.03715.44
5.4.260.0030.03015.27
5.4.250.0050.04015.46
5.4.240.0080.03515.40
5.4.230.0030.04215.31
5.4.220.0080.04015.26
5.4.210.0080.04015.26
5.4.200.0080.02715.35
5.4.190.0080.03815.43
5.4.180.0050.03815.41
5.4.170.0060.03715.37
5.4.160.0070.03715.40
5.4.150.0050.04215.38
5.4.140.0050.03514.00
5.4.130.0020.04014.00
5.4.120.0070.03713.90
5.4.110.0050.04314.03
5.4.100.0050.04013.98
5.4.90.0060.03813.97
5.4.80.0100.03714.01
5.4.70.0030.04014.07
5.4.60.0020.03914.06
5.4.50.0070.03414.04
5.4.40.0060.04114.05
5.4.30.0020.03914.08
5.4.20.0050.03914.06
5.4.10.0090.03613.95
5.4.00.0040.04013.64
5.3.290.0070.02513.15
5.3.280.0080.03813.14
5.3.270.0040.04013.15
5.3.260.0040.03913.17
5.3.250.0050.04313.16
5.3.240.0070.03513.14
5.3.230.0080.03513.12
5.3.220.0060.03613.07
5.3.210.0050.03813.07
5.3.200.0020.02813.15
5.3.190.0050.04013.14
5.3.180.0070.04713.14
5.3.170.0100.03613.08
5.3.160.0070.03713.13
5.3.150.0070.04013.07
5.3.140.0080.03513.14
5.3.130.0100.03813.11
5.3.120.0070.03813.13
5.3.110.0030.04313.06
5.3.100.0030.04312.99
5.3.90.0050.03812.99
5.3.80.0020.02612.99
5.3.70.0050.04012.99
5.3.60.0050.04112.99
5.3.50.0050.04012.99
5.3.40.0070.03912.99
5.3.30.0070.03512.99
5.3.20.0030.04012.99
5.3.10.0050.03712.99
5.3.00.0070.03812.99
5.2.170.0070.06014.24
5.2.160.0070.05714.24
5.2.150.0070.06014.24
5.2.140.0030.06314.24
5.2.130.0070.05714.24
5.2.120.0070.06314.24
5.2.110.0100.05314.24
5.2.100.0070.06314.24
5.2.90.0070.06014.24
5.2.80.0100.05314.24
5.2.70.0030.06314.24
5.2.60.0070.05314.24
5.2.50.0100.05714.24
5.2.40.0100.05714.24
5.2.30.0000.04314.24
5.2.20.0070.06014.24
5.2.10.0000.03714.24
5.2.00.0030.03314.24
5.1.60.0070.05314.24
5.1.50.0030.02714.24
5.1.40.0030.05714.24
5.1.30.0070.04014.24
5.1.20.0100.05314.24
5.1.10.0070.05314.24
5.1.00.0070.05014.24
5.0.50.0030.04714.24
5.0.40.0030.04714.24
5.0.30.0130.05714.24
5.0.20.0030.02314.24
5.0.10.0030.04314.24
5.0.00.0070.06314.24
4.4.90.0070.03014.24
4.4.80.0000.02014.24
4.4.70.0000.03314.24
4.4.60.0000.03714.24
4.4.50.0030.03314.24
4.4.40.0000.04714.24
4.4.30.0000.03714.24
4.4.20.0000.04014.24
4.4.10.0030.03714.24
4.4.00.0000.05714.24
4.3.110.0000.02314.24
4.3.100.0070.03014.24
4.3.90.0030.03014.24
4.3.80.0000.04714.24
4.3.70.0070.03014.24
4.3.60.0000.03714.24
4.3.50.0030.02014.24
4.3.40.0000.04014.24
4.3.30.0070.01714.24
4.3.20.0000.03714.24
4.3.10.0030.02014.24
4.3.00.0070.03014.24

preferences:
53.28 ms | 400 KiB | 5 Q