3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exclude = array('test'); $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.0100.00716.50
8.3.50.0040.01116.38
8.3.40.0080.00818.54
8.3.30.0090.00618.71
8.3.20.0070.00020.04
8.3.10.0000.00821.61
8.3.00.0080.00020.95
8.2.180.0160.00318.29
8.2.170.0140.00022.96
8.2.160.0070.00722.25
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0080.00022.29
8.2.120.0070.00026.35
8.2.110.0030.00620.43
8.2.100.0080.00417.78
8.2.90.0040.00419.28
8.2.80.0050.00318.00
8.2.70.0050.00317.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0040.00422.35
8.2.30.0030.00521.04
8.2.20.0040.00418.13
8.2.10.0020.00517.93
8.2.00.0040.00418.10
8.1.280.0040.01125.92
8.1.270.0040.00423.83
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00320.89
8.1.230.0070.00419.16
8.1.220.0090.00017.79
8.1.210.0080.00018.77
8.1.200.0030.00617.11
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0040.00418.54
8.1.160.0070.00018.91
8.1.150.0000.00818.82
8.1.140.0040.00419.49
8.1.130.0000.00818.76
8.1.120.0060.00317.43
8.1.110.0030.00517.40
8.1.100.0000.00817.25
8.1.90.0040.00417.40
8.1.80.0040.00417.29
8.1.70.0030.00617.42
8.1.60.0040.00417.40
8.1.50.0000.00817.49
8.1.40.0000.00717.36
8.1.30.0000.00817.56
8.1.20.0040.00417.50
8.1.10.0000.00817.44
8.1.00.0070.00017.40
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.31
8.0.270.0070.00017.16
8.0.260.0000.00616.73
8.0.250.0040.00416.88
8.0.240.0040.00416.80
8.0.230.0060.00316.87
8.0.220.0030.00316.86
8.0.210.0000.00716.82
8.0.200.0000.00616.88
8.0.190.0030.00616.73
8.0.180.0040.00416.80
8.0.170.0070.00016.75
8.0.160.0040.00416.80
8.0.150.0000.00716.83
8.0.140.0040.00416.81
8.0.130.0000.00713.11
8.0.120.0060.00316.75
8.0.110.0000.00716.72
8.0.100.0000.00716.82
8.0.90.0040.00416.85
8.0.80.0160.00416.87
8.0.70.0050.00316.69
8.0.60.0000.00716.92
8.0.50.0000.00716.77
8.0.30.0100.00916.86
8.0.20.0080.01117.40
8.0.10.0040.00416.91
8.0.00.0140.00316.76
7.4.330.0000.00515.55
7.4.320.0070.00016.36
7.4.300.0070.00016.52
7.4.290.0080.00516.38
7.4.280.0040.00416.52
7.4.270.0070.00016.52
7.4.260.0050.00216.52
7.4.250.0070.00016.49
7.4.240.0030.00316.54
7.4.230.0040.00416.46
7.4.220.0030.01616.43
7.4.210.0120.00316.49
7.4.200.0000.00716.50
7.4.160.0100.00616.29
7.4.150.0060.01217.40
7.4.140.0130.00517.86
7.4.130.0140.01116.50
7.4.120.0110.01016.52
7.4.110.0110.00616.49
7.4.100.0130.00316.48
7.4.90.0080.01116.27
7.4.80.0060.01219.39
7.4.70.0060.00916.42
7.4.60.0100.00716.45
7.4.50.0120.00016.66
7.4.40.0060.00916.42
7.4.30.0040.01116.38
7.4.00.0070.01014.85
7.3.330.0050.00013.09
7.3.320.0020.00213.05
7.3.310.0060.00016.04
7.3.300.0000.00716.23
7.3.290.0090.00516.15
7.3.280.0090.00716.17
7.3.270.0100.00717.40
7.3.260.0070.00916.44
7.3.250.0110.00716.22
7.3.240.0060.01116.34
7.3.230.0090.01316.39
7.3.210.0080.00816.63
7.3.200.0060.01016.40
7.3.190.0120.00316.38
7.3.180.0140.00316.51
7.3.170.0100.00616.30
7.3.160.0060.00916.28
7.3.10.0030.00916.56
7.3.00.0090.00316.74
7.2.330.0070.01516.23
7.2.320.0090.01316.44
7.2.310.0140.00316.48
7.2.300.0070.01016.62
7.2.290.0060.01116.57
7.2.130.0030.01016.23
7.2.120.0060.00616.41
7.2.110.0030.01416.58
7.2.100.0110.00016.24
7.2.90.0090.00316.22
7.2.80.0060.00916.53
7.2.70.0100.00316.59
7.2.60.0070.00716.58
7.2.50.0040.01116.75
7.2.40.0040.00716.39
7.2.30.0040.01116.34
7.2.20.0080.00416.20
7.2.10.0110.00016.66
7.2.00.0040.00916.70
7.1.250.0040.00415.52
7.1.200.0070.00315.85
7.1.70.0040.01217.16
7.1.60.0730.01333.31
7.1.50.0770.01332.85
7.1.40.0170.01032.64
7.1.30.0470.02332.64
7.1.20.0530.00732.77
7.1.10.0530.01314.82
7.1.00.0370.01715.02
7.0.200.0230.00014.92
7.0.190.0030.01314.96
7.0.180.0030.01014.46
7.0.170.0300.01314.59
7.0.160.0370.00714.45
7.0.150.1270.01314.31
7.0.140.0330.01314.54
7.0.130.0370.01314.74
7.0.120.0370.00714.56
7.0.110.0300.01314.53
7.0.100.0070.01314.36
7.0.90.0100.00714.61
7.0.80.0570.00714.68
7.0.70.0570.00714.68
7.0.60.0370.00714.34
7.0.50.0530.01014.47
7.0.40.0370.00314.59
7.0.30.0300.01014.71
7.0.20.0300.01014.57
7.0.10.0400.01014.64
7.0.00.0530.01014.50

preferences:
48.5 ms | 400 KiB | 5 Q