3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exclude = array('test2'); $password = 'test'; while ( in_array($password,$exclude) ) { echo 'yes'; $password='test1'; } echo $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.0110.00716.50
8.3.50.0170.00316.35
8.3.40.0110.00418.89
8.3.30.0040.01118.65
8.3.20.0070.00020.30
8.3.10.0040.00421.76
8.3.00.0080.00020.88
8.2.180.0130.00718.41
8.2.170.0070.00722.96
8.2.160.0140.00022.00
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00722.25
8.2.120.0050.00226.35
8.2.110.0100.00022.13
8.2.100.0090.00317.72
8.2.90.0040.00418.03
8.2.80.0050.00317.97
8.2.70.0050.00318.04
8.2.60.0070.00017.93
8.2.50.0080.00018.10
8.2.40.0060.00322.23
8.2.30.0040.00421.03
8.2.20.0060.00318.11
8.2.10.0040.00418.05
8.2.00.0000.00718.05
8.1.280.0040.01125.92
8.1.270.0030.00623.82
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00422.14
8.1.230.0070.00320.91
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0000.00917.10
8.1.180.0000.00718.10
8.1.170.0000.00818.51
8.1.160.0040.00418.96
8.1.150.0060.00318.87
8.1.140.0070.00019.42
8.1.130.0000.00717.27
8.1.120.0000.00817.28
8.1.110.0000.00717.39
8.1.100.0040.00417.29
8.1.90.0040.00417.40
8.1.80.0070.00017.29
8.1.70.0070.00017.28
8.1.60.0000.00817.55
8.1.50.0050.00317.37
8.1.40.0040.00417.35
8.1.30.0000.00717.47
8.1.20.0070.00017.49
8.1.10.0020.00517.38
8.1.00.0070.00017.32
8.0.300.0000.00719.48
8.0.290.0060.00316.75
8.0.280.0030.00318.44
8.0.270.0070.00017.25
8.0.260.0110.00016.81
8.0.250.0030.00316.85
8.0.240.0040.00416.73
8.0.230.0040.00416.84
8.0.220.0030.00316.83
8.0.210.0030.00316.86
8.0.200.0000.00716.77
8.0.190.0080.00416.86
8.0.180.0030.00616.81
8.0.170.0000.00716.91
8.0.160.0030.00416.87
8.0.150.0070.00016.83
8.0.140.0000.00916.79
8.0.130.0040.00413.23
8.0.120.0040.00416.69
8.0.110.0030.00516.87
8.0.100.0040.00416.71
8.0.90.0050.00316.73
8.0.80.0120.00316.84
8.0.70.0050.00316.88
8.0.60.0000.00716.82
8.0.50.0040.00416.64
8.0.30.0090.00717.06
8.0.20.0120.00717.40
8.0.10.0040.00416.91
8.0.00.0120.00616.76
7.4.330.0050.00015.55
7.4.320.0000.00616.49
7.4.300.0020.00516.50
7.4.290.0090.00616.52
7.4.280.0040.00416.50
7.4.270.0040.00416.52
7.4.260.0000.00716.55
7.4.250.0000.00716.48
7.4.240.0070.00016.54
7.4.230.0030.00316.37
7.4.220.0030.01716.62
7.4.210.0120.00316.48
7.4.200.0040.00416.61
7.4.160.0080.01316.29
7.4.150.0110.00817.40
7.4.140.0100.00917.86
7.4.130.0130.00916.51
7.4.120.0140.00416.53
7.4.110.0100.00616.57
7.4.100.0120.00616.59
7.4.90.0030.02016.30
7.4.80.0130.00319.39
7.4.70.0140.00716.45
7.4.60.0070.00916.41
7.4.50.0000.01616.48
7.4.40.0070.01016.20
7.4.30.0070.01016.50
7.4.00.0140.00414.80
7.3.330.0030.00313.08
7.3.320.0030.00313.18
7.3.310.0030.00316.03
7.3.300.0060.00016.14
7.3.290.0060.01216.26
7.3.280.0080.00716.20
7.3.270.0070.01017.40
7.3.260.0100.00616.42
7.3.250.0100.01016.38
7.3.240.0080.01016.26
7.3.230.0110.00616.18
7.3.210.0100.00616.58
7.3.200.0120.00416.50
7.3.190.0130.00316.18
7.3.180.0090.01016.22
7.3.170.0070.00716.32
7.3.160.0140.00716.39
7.2.330.0180.00416.60
7.2.320.0090.01116.48
7.2.310.0070.01316.48
7.2.300.0100.01016.26
7.2.290.0160.00016.59
7.2.60.0090.00616.67
7.2.00.0040.00819.36
7.1.200.0040.00415.80
7.1.100.0060.00618.12
7.1.70.0030.01016.86
7.1.60.0700.01333.34
7.1.50.0600.01332.78
7.1.40.0500.01332.54
7.1.30.0570.00732.59
7.1.20.0430.01332.76
7.1.10.0530.00714.85
7.1.00.0400.00715.02
7.0.200.0500.01014.92
7.0.190.0430.00714.80
7.0.180.0400.00714.43
7.0.170.0430.00714.44
7.0.160.0400.00314.30
7.0.150.0430.00714.32
7.0.140.0400.00314.66
7.0.130.0370.01014.80
7.0.120.0500.01014.80
7.0.110.0300.01314.55
7.0.100.0270.01714.48
7.0.90.0300.01314.33
7.0.80.0400.00714.37
7.0.70.0300.01314.63
7.0.60.0500.00714.34
7.0.50.0300.01314.72
7.0.40.0900.00714.58
7.0.30.0470.00314.60
7.0.20.0800.01014.53
7.0.10.0330.01314.78
7.0.00.0370.01014.60

preferences:
50.38 ms | 401 KiB | 5 Q