3v4l.org

run code in 300+ PHP versions simultaneously
<?php #source = "asdsadsadas" if (strpos("http://asdsadsadas", 'http') === 0 or strpos("http://asdsadsadas", 'https') === 0) { echo "Dupa"; } else { echo "Sraka"; } ?>

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.0060.00916.50
8.3.50.0110.01121.28
8.3.40.0070.00718.67
8.3.30.0040.01118.54
8.3.20.0000.00720.16
8.3.10.0070.00023.48
8.3.00.0040.00421.90
8.2.180.0110.01116.50
8.2.170.0110.01122.96
8.2.160.0070.00720.44
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.75
8.2.120.0050.00326.35
8.2.110.0030.00619.24
8.2.100.0070.00317.80
8.2.90.0040.00419.11
8.2.80.0080.00017.97
8.2.70.0090.00017.25
8.2.60.0040.00417.80
8.2.50.0040.00718.09
8.2.40.0050.00322.20
8.2.30.0040.00419.29
8.2.20.0040.00417.54
8.2.10.0000.00717.99
8.2.00.0000.00817.99
8.1.280.0070.01525.92
8.1.270.0100.00322.02
8.1.260.0050.00328.09
8.1.250.0040.00428.09
8.1.240.0030.00622.04
8.1.230.0110.00017.70
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0070.00316.88
8.1.190.0050.00317.10
8.1.180.0000.00818.10
8.1.170.0070.00718.40
8.1.160.0040.00420.57
8.1.150.0000.00818.78
8.1.140.0040.00419.52
8.1.130.0030.00317.64
8.1.120.0040.00417.30
8.1.110.0050.00317.46
8.1.100.0030.00517.29
8.1.90.0050.00317.32
8.1.80.0040.00717.38
8.1.70.0030.00317.24
8.1.60.0000.00817.48
8.1.50.0080.00017.50
8.1.40.0030.00617.47
8.1.30.0050.00317.52
8.1.20.0040.00417.53
8.1.10.0040.00417.34
8.1.00.0020.00517.27
8.0.300.0090.00218.77
8.0.290.0070.00016.63
8.0.280.0040.00418.43
8.0.270.0030.00317.16
8.0.260.0060.00017.25
8.0.250.0040.00416.81
8.0.240.0040.00416.88
8.0.230.0030.00316.82
8.0.220.0060.00316.84
8.0.210.0040.00416.76
8.0.200.0000.00716.87
8.0.190.0000.00816.94
8.0.180.0070.00016.82
8.0.170.0000.00716.86
8.0.160.0000.00716.82
8.0.150.0060.00316.63
8.0.140.0040.00316.82
8.0.130.0060.00013.25
8.0.120.0040.00416.80
8.0.110.0040.00416.72
8.0.100.0000.00716.73
8.0.90.0000.00816.66
8.0.80.0060.01016.87
8.0.70.0070.00016.82
8.0.60.0000.00716.89
8.0.50.0040.00416.67
8.0.30.0070.01217.16
8.0.20.0130.00617.40
8.0.10.0040.00417.02
8.0.00.0120.00616.62
7.4.330.0000.00516.73
7.4.320.0070.00016.38
7.4.300.0030.00316.38
7.4.290.0000.00616.53
7.4.280.0080.00016.35
7.4.270.0030.00416.57
7.4.260.0000.00716.54
7.4.250.0030.00316.41
7.4.240.0000.00716.45
7.4.230.0000.00716.46
7.4.220.0090.00916.50
7.4.210.0030.01516.48
7.4.200.0030.00316.45
7.4.160.0120.00316.29
7.4.150.0120.00617.40
7.4.140.0130.00817.86
7.4.130.0090.01316.52
7.4.120.0150.00516.43
7.4.110.0100.00716.58
7.4.100.0110.00816.45
7.4.90.0090.01216.21
7.4.80.0140.00719.39
7.4.70.0160.00016.32
7.4.60.0090.00916.36
7.4.50.0060.00916.23
7.4.40.0100.00416.24
7.4.30.0070.01116.41
7.4.00.0060.00914.61
7.3.330.0060.00013.10
7.3.320.0000.00513.15
7.3.310.0000.00716.14
7.3.300.0000.00716.24
7.3.290.0070.00816.28
7.3.280.0100.00616.24
7.3.270.0090.00917.40
7.3.260.0110.00916.45
7.3.250.0100.00816.26
7.3.240.0120.00516.50
7.3.230.0070.01016.39
7.3.210.0180.00816.21
7.3.200.0190.00419.39
7.3.190.0060.01016.50
7.3.180.0080.01416.39
7.3.170.0130.01016.47
7.3.160.0000.01716.21
7.2.330.0090.00916.52
7.2.320.0100.00716.44
7.2.310.0130.00316.39
7.2.300.0060.01216.65
7.2.290.0060.01016.33
7.2.110.0370.00716.38
7.2.60.0070.00716.88
7.2.00.0060.00919.25
7.1.200.0030.01015.88
7.1.100.0070.00318.02
7.1.70.0000.01017.05
7.1.60.0030.01519.40
7.1.50.0060.01616.78
7.1.00.0070.07022.55
7.0.200.0420.00414.55
7.0.60.0200.05719.85
7.0.50.0130.04717.85
7.0.40.0100.08720.38
7.0.30.0330.07720.00
7.0.20.0400.08020.20
7.0.10.0070.06720.20
7.0.00.0070.04020.16
5.6.210.0130.07320.54
5.6.200.0100.06018.19
5.6.190.0070.09020.35
5.6.180.0230.04720.43
5.6.170.0270.05720.55
5.6.160.0000.04720.54
5.6.150.0030.07318.12
5.6.140.0170.06318.07
5.6.130.0100.07718.11
5.6.120.0070.05021.11
5.6.110.0170.06321.11
5.6.100.0030.07320.95
5.6.90.0170.02720.96
5.6.80.0030.09020.38
5.5.350.0370.06020.32
5.5.340.0130.03018.02
5.5.330.0100.03320.20
5.5.320.0370.04720.21
5.5.310.0200.04720.30
5.5.300.0070.04017.93
5.5.290.0130.08017.99
5.5.280.0070.05720.73
5.5.270.0200.07020.76
5.5.260.0100.08020.83
5.5.250.0070.08320.77
5.5.240.0170.08020.15

preferences:
50.79 ms | 401 KiB | 5 Q