3v4l.org

run code in 300+ PHP versions simultaneously
<?php $alternative = 'offer_type:buy'; $key = 'category:apartment__location_region:shan-south__offer_type:buy'; $result['key'] = 'category:apartment__offer_type:buy_my'; $keyExactMatch = !!array_intersect( array($key, $alternative), array($result['key'], substr($result['key'], null, -3)) ); var_dump(array($key, $alternative),array($result['key'], substr($result['key'], null, -3)),$keyExactMatch);

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.0120.00918.94
8.3.30.0070.01020.26
8.3.20.0030.00618.73
8.3.10.0060.00321.04
8.3.00.0040.00423.66
8.2.170.0110.00422.96
8.2.160.0030.01720.44
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0050.00526.16
8.2.120.0040.00421.04
8.2.110.0030.00622.18
8.2.100.0060.00618.03
8.2.90.0000.00817.97
8.2.80.0040.00420.41
8.2.70.0000.00918.05
8.2.60.0000.00818.05
8.2.50.0040.00418.22
8.2.40.0050.00220.42
8.2.30.0040.00419.23
8.2.20.0060.00317.66
8.2.10.0020.00517.73
8.2.00.0070.00017.76
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.95
8.1.230.0040.00820.87
8.1.220.0040.00417.93
8.1.210.0030.00518.77
8.1.200.0000.01017.35
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0040.00418.70
8.1.160.0080.00018.93
8.1.150.0050.00218.55
8.1.140.0000.00717.45
8.1.130.0000.00717.79
8.1.120.0040.00417.48
8.1.110.0040.00417.41
8.1.100.0040.00417.45
8.1.90.0040.00417.37
8.1.80.0040.00417.40
8.1.70.0040.00417.49
8.1.60.0060.00317.62
8.1.50.0000.00717.43
8.1.40.0040.00417.46
8.1.30.0050.00317.54
8.1.20.0040.00417.52
8.1.10.0000.00717.62
8.1.00.0080.00017.56
8.0.300.0000.00719.96
8.0.290.0080.00016.63
8.0.280.0020.00518.36
8.0.270.0070.00017.16
8.0.260.0000.00616.74
8.0.250.0040.00416.88
8.0.240.0000.00916.86
8.0.230.0040.00417.00
8.0.220.0030.00516.80
8.0.210.0060.00016.75
8.0.200.0040.00416.95
8.0.190.0040.00416.88
8.0.180.0000.00716.98
8.0.170.0070.00016.81
8.0.160.0000.00716.93
8.0.150.0000.00716.77
8.0.140.0050.00316.84
8.0.130.0030.00313.30
8.0.120.0040.00416.79
8.0.110.0040.00416.94
8.0.100.0070.00016.84
8.0.90.0070.00016.88
8.0.80.0120.00316.86
8.0.70.0000.00716.75
8.0.60.0040.00416.96
8.0.50.0000.00716.84
8.0.30.0090.01217.08
8.0.20.0080.01017.45
8.0.10.0030.00316.83
8.0.00.0080.01116.84
7.4.330.0050.00014.88
7.4.320.0000.00616.55
7.4.300.0030.00316.55
7.4.290.0000.00716.63
7.4.280.0060.00316.60
7.4.270.0030.00316.60
7.4.260.0060.00013.28
7.4.250.0040.00416.39
7.4.240.0030.00316.54
7.4.230.0000.00716.42
7.4.220.0100.01616.49
7.4.210.0090.00716.57
7.4.200.0000.00716.42
7.4.190.0000.00716.37
7.4.160.0030.02016.50
7.4.150.0100.01017.40
7.4.140.0110.00717.86
7.4.130.0070.01116.54
7.4.120.0070.01016.62
7.4.110.0100.00916.54
7.4.100.0060.01116.73
7.4.90.0120.01216.50
7.4.80.0140.00819.39
7.4.70.0130.00916.52
7.4.60.0030.02016.48
7.4.50.0000.00616.41
7.4.40.0000.01022.77
7.4.30.0080.00816.48
7.4.10.0040.01514.91
7.4.00.0080.00714.88
7.3.330.0050.00013.18
7.3.320.0000.00513.27
7.3.310.0000.00716.19
7.3.300.0030.00316.25
7.3.290.0070.00616.30
7.3.280.0090.00816.31
7.3.270.0140.01117.40
7.3.260.0150.00818.24
7.3.250.0090.01216.53
7.3.240.0160.00016.37
7.3.230.0100.00616.71
7.3.210.0150.00916.45
7.3.200.0110.01319.39
7.3.190.0100.01316.43
7.3.180.0160.00016.57
7.3.170.0140.00716.37
7.3.160.0160.00016.44
7.3.130.0000.01914.75
7.3.120.0060.00714.92
7.3.110.0070.00914.84
7.3.100.0080.00614.98
7.3.90.0070.00714.81
7.3.80.0070.00314.83
7.3.70.0040.00914.87
7.3.60.0040.00814.88
7.3.50.0060.00914.89
7.3.40.0110.00214.78
7.3.30.0050.00914.71
7.3.20.0090.00116.71
7.3.10.0030.00816.54
7.3.00.0090.00516.74
7.2.330.0150.00316.58
7.2.320.0030.02216.58
7.2.310.0110.00716.71
7.2.300.0070.01116.68
7.2.290.0100.00716.67
7.2.260.0030.01315.03
7.2.250.0070.01115.02
7.2.240.0110.00615.03
7.2.230.0020.01015.10
7.2.220.0060.00714.83
7.2.210.0030.01215.17
7.2.200.0020.01014.79
7.2.190.0060.00914.99
7.2.180.0080.00815.06
7.2.170.0050.00915.00
7.2.160.0070.01015.04
7.2.150.0000.01117.00
7.2.140.0070.00416.71
7.2.130.0040.01416.66
7.2.120.0000.01016.83
7.2.110.0040.00716.86
7.2.100.0030.00816.74
7.2.90.0000.01717.09
7.2.80.0060.00617.06
7.2.70.0090.00616.72
7.2.60.0060.00616.72
7.2.50.0060.00616.94
7.2.40.0070.01016.93
7.2.30.0090.00316.82
7.2.20.0140.00417.11
7.2.10.0030.01016.96
7.2.00.0040.01117.09
7.1.330.0030.01015.98
7.1.320.0060.00615.78
7.1.310.0070.00715.78
7.1.300.0090.00715.93
7.1.290.0050.01015.85
7.1.280.0020.01415.84
7.1.270.0030.00715.61
7.1.260.0050.00915.81
7.1.250.0000.00815.68
7.1.240.0070.00715.64
7.1.230.0080.00415.89
7.1.220.0000.01215.70
7.1.210.0080.00315.68
7.1.200.0120.00415.52
7.1.190.0060.01215.75
7.1.180.0000.01315.55
7.1.170.0060.00915.93
7.1.160.0000.01315.74
7.1.150.0070.00715.75
7.1.140.0100.00615.71
7.1.130.0030.00715.89
7.1.120.0040.01115.43
7.1.110.0030.01015.67
7.1.100.0120.00315.89
7.1.90.0100.00315.94
7.1.80.0060.00915.63
7.1.70.0040.00516.53
7.1.60.0090.00917.62
7.1.50.0020.00916.43
7.1.40.0090.00315.57
7.1.30.0000.01015.88
7.1.20.0030.00915.71
7.1.10.0030.01015.85
7.1.00.0030.03419.04
7.0.330.0080.00015.23
7.0.320.0040.00815.43
7.0.310.0100.00715.11
7.0.300.0090.00315.40
7.0.290.0070.00715.41
7.0.280.0030.01215.42
7.0.270.0000.01015.23
7.0.260.0040.01215.12
7.0.250.0000.01015.37
7.0.240.0060.00615.59
7.0.230.0070.00715.31
7.0.220.0000.01315.55
7.0.210.0030.00815.38
7.0.200.0060.00516.01
7.0.190.0130.00015.44
7.0.180.0000.00915.34
7.0.170.0060.00615.10
7.0.160.0100.00015.46
7.0.150.0070.00715.41
7.0.140.0050.04018.78
7.0.130.0040.00415.42
7.0.120.0040.00815.55
7.0.110.0060.00615.21
7.0.100.0000.00815.38
7.0.90.0090.00615.49
7.0.80.0140.00314.95
7.0.70.0050.04018.64
7.0.60.0020.03418.56
7.0.50.0030.04918.80
7.0.40.0040.03216.80
7.0.30.0040.02616.61
7.0.20.0050.04316.74
7.0.10.0030.04116.77
7.0.00.0100.03616.65
5.6.400.0070.00714.54
5.6.390.0000.00914.60
5.6.380.0000.01114.07
5.6.370.0080.00414.80
5.6.360.0070.00714.18
5.6.350.0110.00414.43
5.6.340.0120.00314.61
5.6.330.0120.00613.87
5.6.320.0030.01013.95
5.6.310.0060.00314.46
5.6.300.0070.00714.54
5.6.290.0090.00014.32
5.6.280.0050.04017.80
5.6.270.0060.00614.21
5.6.260.0080.00314.24
5.6.250.0030.01014.50
5.6.240.0060.00914.20
5.6.230.0030.01014.33
5.6.220.0100.04217.49
5.6.210.0040.03317.40
5.6.200.0020.03117.70
5.6.190.0030.04317.65
5.6.180.0080.04517.56
5.6.170.0030.03817.58
5.6.160.0020.04117.63
5.6.150.0060.02717.78
5.6.140.0050.04217.63
5.6.130.0050.04717.63
5.6.120.0020.03617.56
5.6.110.0050.02917.59
5.6.100.0050.04617.60
5.6.90.0080.04517.63
5.6.80.0080.04417.32
5.6.70.0030.03217.32
5.6.60.0030.04117.41
5.6.50.0030.03317.44
5.6.40.0020.05017.34
5.6.30.0100.03917.42
5.6.20.0070.04017.38
5.6.10.0070.04217.29
5.6.00.0100.03817.37
5.5.380.0000.01014.28
5.5.370.0070.01114.37
5.5.360.0040.03917.17
5.5.350.0030.05017.23
5.5.340.0100.03617.43
5.5.330.0050.04317.48
5.5.320.0070.04617.57
5.5.310.0050.03617.67
5.5.300.0090.03917.54
5.5.290.0070.04317.40
5.5.280.0070.04017.49
5.5.270.0070.04317.39
5.5.260.0050.04517.46
5.5.250.0000.04517.48
5.5.240.0030.04717.16
5.5.230.0050.04516.99
5.5.220.0080.02917.32
5.5.210.0050.04317.26
5.5.200.0080.04117.21
5.5.190.0050.03117.15
5.5.180.0070.04217.00
5.5.170.0090.00314.32
5.5.160.0060.03317.13
5.5.150.0080.04017.14
5.5.140.0050.04217.11
5.5.130.0040.04417.05
5.5.120.0030.02817.14
5.5.110.0110.04217.23
5.5.100.0060.04517.14
5.5.90.0070.04217.10
5.5.80.0030.04216.97
5.5.70.0030.03017.00
5.5.60.0050.04517.03
5.5.50.0050.04117.01
5.5.40.0030.03417.02
5.5.30.0090.03817.01
5.5.20.0050.03316.89
5.5.10.0030.04716.87
5.5.00.0080.03817.14
5.4.450.0030.04415.70
5.4.440.0050.04415.67
5.4.430.0050.04315.59
5.4.420.0050.03115.70
5.4.410.0050.03515.64
5.4.400.0050.04215.52
5.4.390.0060.03215.59
5.4.380.0060.03215.50
5.4.370.0050.04515.53
5.4.360.0050.04015.37
5.4.350.0070.03915.51
5.4.340.0040.04015.54
5.4.330.0030.00911.96
5.4.320.0020.04515.54
5.4.310.0030.04215.51
5.4.300.0100.03815.37
5.4.290.0030.03515.54
5.4.280.0020.03515.54
5.4.270.0000.04615.55
5.4.260.0070.03915.47
5.4.250.0050.04015.42
5.4.240.0030.04015.49
5.4.230.0060.03815.46
5.4.220.0030.04515.51
5.4.210.0040.03115.49
5.4.200.0070.03515.46
5.4.190.0020.03715.50
5.4.180.0050.02715.58
5.4.170.0080.03815.53
5.4.160.0060.02715.54
5.4.150.0030.04515.42
5.4.140.0070.03214.04
5.4.130.0080.03314.16
5.4.120.0020.03914.13
5.4.110.0020.03114.08
5.4.100.0030.02514.09
5.4.90.0040.01814.19
5.4.80.0000.03014.07
5.4.70.0020.02314.18
5.4.60.0020.02614.12
5.4.50.0040.03314.17
5.4.40.0070.01814.14
5.4.30.0030.02614.09
5.4.20.0050.01814.09
5.4.10.0070.02714.16
5.4.00.0040.01813.88
5.3.290.0050.04013.23
5.3.280.0070.03813.25
5.3.270.0030.04213.28
5.3.260.0030.04313.21
5.3.250.0020.04113.21
5.3.240.0040.04013.25
5.3.230.0050.04113.19
5.3.220.0060.03313.25
5.3.210.0050.03713.19
5.3.200.0050.02313.24
5.3.190.0020.02213.17
5.3.180.0050.02113.26
5.3.170.0030.02213.17
5.3.160.0000.02313.19
5.3.150.0060.02313.19
5.3.140.0030.02113.25
5.3.130.0030.03113.25
5.3.120.0010.02313.23
5.3.110.0050.02013.23
5.3.100.0030.02212.98
5.3.90.0020.03112.98
5.3.80.0050.03712.92
5.3.70.0030.03012.96
5.3.60.0010.02312.97
5.3.50.0020.02612.94
5.3.40.0020.02312.95
5.3.30.0020.02012.90
5.3.20.0110.01512.75
5.3.10.0000.02212.69
5.3.00.0060.02512.78
5.2.170.0030.02712.38
5.2.160.0000.03012.38
5.2.150.0000.03012.38
5.2.140.0000.04712.38
5.2.130.0100.02312.38
5.2.120.0030.02712.38
5.2.110.0000.03012.38
5.2.100.0030.03012.38
5.2.90.0000.02712.38
5.2.80.0030.02712.38
5.2.70.0030.03012.38
5.2.60.0030.02712.38
5.2.50.0030.02712.38
5.2.40.0000.03012.38
5.2.30.0000.03312.38
5.2.20.0030.04712.38
5.2.10.0000.03012.38
5.2.00.0030.02712.38
5.1.60.0000.02312.38
5.1.50.0030.01712.38
5.1.40.0030.02012.38
5.1.30.0000.02312.38
5.1.20.0030.02012.38
5.1.10.0000.02312.38
5.1.00.0000.02712.38
5.0.50.0030.01712.38
5.0.40.0000.02012.38
5.0.30.0000.04712.38
5.0.20.0000.02012.38
5.0.10.0000.01712.38
5.0.00.0000.02312.38
4.4.90.0000.01312.38
4.4.80.0000.01712.38
4.4.70.0000.01712.38
4.4.60.0000.01712.38
4.4.50.0000.01712.38
4.4.40.0000.03312.38
4.4.30.0000.01312.38
4.4.20.0070.01012.38
4.4.10.0000.01312.38
4.4.00.0030.02312.38
4.3.110.0000.01312.38
4.3.100.0000.02012.38
4.3.90.0000.01012.38
4.3.80.0000.02712.38
4.3.70.0000.02712.38
4.3.60.0000.03712.38
4.3.50.0000.03312.38
4.3.40.0000.05712.38
4.3.30.0030.03312.38
4.3.20.0000.03312.38
4.3.10.0000.03712.38
4.3.00.0030.03312.38

preferences:
41.01 ms | 400 KiB | 5 Q