3v4l.org

run code in 300+ PHP versions simultaneously
<?php $customerGroup = 1; $test = strpos($customerGroup, '1') === 0; echo $test;

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.40.0070.00718.73
8.3.30.0070.00718.67
8.3.20.0040.00419.16
8.3.10.0080.00021.77
8.3.00.0080.00019.41
8.2.170.0060.00922.96
8.2.160.0030.01020.32
8.2.150.0070.00025.66
8.2.140.0060.00324.66
8.2.130.0000.00721.96
8.2.120.0000.00826.35
8.2.110.0030.00620.45
8.2.100.0000.01117.72
8.2.90.0000.00819.21
8.2.80.0030.00517.97
8.2.70.0050.00317.50
8.2.60.0040.00418.04
8.2.50.0040.00418.10
8.2.40.0040.00420.55
8.2.30.0040.00421.06
8.2.20.0030.00618.10
8.2.10.0040.00317.99
8.2.00.0070.00018.10
8.1.270.0070.00022.09
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0000.00923.97
8.1.230.0070.00819.08
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0110.00018.33
8.1.160.0040.00418.88
8.1.150.0000.00820.60
8.1.140.0030.00719.43
8.1.130.0050.00318.78
8.1.120.0050.00317.43
8.1.110.0040.00417.39
8.1.100.0070.00017.34
8.1.90.0060.00317.36
8.1.80.0040.00417.45
8.1.70.0070.00017.32
8.1.60.0050.00517.50
8.1.50.0020.00517.47
8.1.40.0000.00917.37
8.1.30.0000.00717.57
8.1.20.0030.00717.54
8.1.10.0000.00917.52
8.1.00.0080.00017.51
8.0.300.0080.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.48
8.0.270.0050.00317.29
8.0.260.0000.00816.82
8.0.250.0030.00316.91
8.0.240.0040.00416.95
8.0.230.0070.00016.86
8.0.220.0030.00316.81
8.0.210.0040.00416.83
8.0.200.0030.00616.89
8.0.190.0030.00616.91
8.0.180.0000.00716.77
8.0.170.0030.00316.88
8.0.160.0040.00416.82
8.0.150.0030.00316.80
8.0.140.0080.00016.82
8.0.130.0000.00613.22
8.0.120.0000.00816.79
8.0.110.0030.00716.70
8.0.100.0040.00416.85
8.0.90.0000.00716.77
8.0.80.0040.01416.79
8.0.70.0040.00416.64
8.0.60.0100.00016.69
8.0.50.0040.00416.75
8.0.30.0130.00616.96
8.0.20.0110.01017.40
8.0.10.0040.00416.99
8.0.00.0150.00316.82
7.4.330.0030.00315.55
7.4.320.0000.00716.46
7.4.300.0070.00016.58
7.4.290.0070.00016.48
7.4.280.0000.00716.58
7.4.270.0100.00016.53
7.4.260.0000.00613.28
7.4.250.0030.00316.45
7.4.240.0080.00016.52
7.4.230.0070.00016.55
7.4.220.0090.00916.55
7.4.210.0100.00316.45
7.4.200.0030.00316.58
7.4.160.0130.00716.42
7.4.150.0090.00917.40
7.4.140.0080.01217.86
7.4.130.0100.01416.66
7.4.120.0130.00916.52
7.4.110.0090.01516.39
7.4.100.0070.01716.55
7.4.90.0120.00616.48
7.4.80.0110.00719.39
7.4.70.0060.00916.49
7.4.60.0060.01116.55
7.4.50.0030.01216.40
7.4.40.0120.00316.32
7.4.30.0080.00816.45
7.4.00.0090.00715.02
7.3.330.0000.00513.13
7.3.320.0050.00013.11
7.3.310.0040.00316.11
7.3.300.0000.00716.17
7.3.290.0060.00916.27
7.3.280.0080.00916.26
7.3.270.0130.00317.40
7.3.260.0140.01116.34
7.3.250.0110.01016.25
7.3.240.0120.00916.33
7.3.230.0030.01516.43
7.3.210.0100.00616.24
7.3.200.0080.01216.59
7.3.190.0090.00916.30
7.3.180.0090.00916.38
7.3.170.0090.00616.37
7.3.160.0150.00616.24
7.3.120.0000.01414.69
7.3.110.0130.00615.02
7.3.100.0060.00614.82
7.3.90.0080.00414.77
7.3.80.0120.00314.69
7.3.70.0030.00614.80
7.3.60.0060.00914.95
7.3.50.0100.00314.78
7.3.40.0070.00714.89
7.3.30.0080.00814.66
7.3.20.0040.00916.34
7.3.10.0110.00416.68
7.3.00.0040.01116.50
7.2.330.0060.01216.41
7.2.320.0160.00016.55
7.2.310.0130.00316.50
7.2.300.0110.00616.61
7.2.290.0120.00316.59
7.2.250.0130.00615.17
7.2.240.0100.00714.89
7.2.230.0000.01414.83
7.2.220.0000.01414.93
7.2.210.0030.01014.80
7.2.200.0060.00614.89
7.2.190.0030.00615.04
7.2.180.0040.00714.96
7.2.170.0060.00814.60
7.2.60.0000.01316.60
7.2.00.0030.01319.02
7.1.330.0080.00815.98
7.1.320.0100.00715.88
7.1.310.0030.00915.86
7.1.300.0040.00415.79
7.1.290.0120.00315.75
7.1.280.0060.00315.72
7.1.270.0110.00315.63
7.1.260.0060.01015.94
7.1.200.0000.01115.69
7.1.100.0040.00818.15
7.1.70.0000.00717.03
7.1.60.1000.01033.24
7.1.50.1030.00732.97
7.1.40.1030.00732.59
7.1.30.0930.01732.75
7.1.20.0830.01032.95
7.1.10.0830.01714.94
7.1.00.0830.01314.91
7.0.200.0800.01315.06
7.0.190.1030.01014.94
7.0.180.0730.01714.34
7.0.170.0230.01714.43
7.0.160.0900.01314.62
7.0.150.0870.01314.61
7.0.140.0870.01014.40
7.0.130.0900.01314.78
7.0.120.0870.01314.69
7.0.110.0870.01714.40
7.0.100.0270.01314.49
7.0.90.1170.01014.67
7.0.80.0930.01014.52
7.0.70.0870.01714.35
7.0.60.0330.00714.22
7.0.50.0100.00714.60
7.0.40.0600.00714.74
7.0.30.0130.00314.58
7.0.20.0870.01314.73
7.0.10.1070.00714.46
7.0.00.0800.01314.52

preferences:
62.27 ms | 400 KiB | 5 Q