3v4l.org

run code in 300+ PHP versions simultaneously
<?php $q = 43837720; $or = 43837720; if ( strlen( trim( $q ) ) > 0 ) { $w = preg_split( "/ +/", $q ); $stopwords = array( 'en', 'de','het','een','der','van','op','den','in' ); $w2 = array(); foreach ( $w as $tw ) { if ( !in_array( $tw, $stopwords ) ) { $w2[] = $tw; } } $q = $tq1 = $tq2 = ""; if ( is_numeric( $or ) && strlen( $or ) == 13 ) { $q = $or; } else { foreach( $w2 as $w ) { $q .= "( {$w} OR {$w}~0.8 OR {$w}* )"; } } }

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.00418.43
8.3.50.0070.01318.33
8.3.40.0040.01118.82
8.3.30.0070.01118.83
8.3.20.0070.00019.21
8.3.10.0050.00321.95
8.3.00.0040.00420.64
8.2.180.0160.00018.54
8.2.170.0100.00322.96
8.2.160.0070.00721.19
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00319.95
8.2.120.0040.00426.35
8.2.110.0030.00620.56
8.2.100.0060.00617.97
8.2.90.0030.00617.88
8.2.80.0030.00517.97
8.2.70.0080.00018.05
8.2.60.0040.00418.28
8.2.50.0000.00818.10
8.2.40.0040.00419.50
8.2.30.0040.00419.39
8.2.20.0050.00218.05
8.2.10.0070.00018.12
8.2.00.0030.00617.77
8.1.280.0130.00925.92
8.1.270.0040.00420.60
8.1.260.0000.00826.35
8.1.250.0000.00828.09
8.1.240.0090.00023.81
8.1.230.0090.00320.72
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0060.00317.48
8.1.180.0040.00418.10
8.1.170.0000.00818.78
8.1.160.0000.00718.84
8.1.150.0000.00718.96
8.1.140.0070.00022.22
8.1.130.0070.00021.98
8.1.120.0040.00417.60
8.1.110.0000.00717.48
8.1.100.0000.00817.61
8.1.90.0070.00017.57
8.1.80.0000.00717.49
8.1.70.0030.00317.65
8.1.60.0040.00417.58
8.1.50.0000.00717.70
8.1.40.0000.01117.73
8.1.30.0030.00517.66
8.1.20.0030.00517.83
8.1.10.0060.00317.58
8.1.00.0040.00417.65
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0050.00318.45
8.0.270.0000.00717.27
8.0.260.0030.00718.39
8.0.250.0000.00717.01
8.0.240.0080.00017.07
8.0.230.0000.00717.07
8.0.220.0080.00016.92
8.0.210.0000.00917.03
8.0.200.0030.00317.11
8.0.190.0060.00317.08
8.0.180.0070.00016.91
8.0.170.0080.00016.93
8.0.160.0040.00416.95
8.0.150.0060.00317.01
8.0.140.0000.00717.00
8.0.130.0030.00313.50
8.0.120.0000.00816.89
8.0.110.0000.00717.09
8.0.100.0050.00216.86
8.0.90.0070.00016.96
8.0.80.0060.01017.00
8.0.70.0070.00016.88
8.0.60.0050.00316.84
8.0.50.0030.00516.88
8.0.30.0080.00917.24
8.0.20.0150.00317.40
8.0.10.0040.00417.00
8.0.00.0100.01016.82
7.4.330.0000.00515.55
7.4.320.0000.00616.69
7.4.300.0000.00616.84
7.4.290.0090.00016.69
7.4.280.0030.00616.79
7.4.270.0070.00016.71
7.4.260.0040.00416.63
7.4.250.0000.00816.79
7.4.240.0050.00216.68
7.4.230.0040.00416.66
7.4.220.0000.00816.79
7.4.210.0060.01316.79
7.4.200.0070.00016.71
7.4.160.0110.00616.65
7.4.140.0130.00717.86
7.4.130.0140.01016.67
7.4.120.0090.01116.63
7.4.110.0060.01416.82
7.4.100.0110.00716.54
7.4.90.0000.01816.64
7.4.80.0100.00719.39
7.4.70.0150.00616.73
7.4.60.0030.01716.66
7.4.50.0040.01516.61
7.4.40.0000.01616.77
7.3.330.0030.00213.39
7.3.320.0000.00513.39
7.3.310.0030.00616.32
7.3.300.0050.00216.37
7.3.290.0000.00716.38
7.3.280.0080.00816.50
7.3.260.0090.01116.60
7.3.240.0100.00816.64
7.3.230.0070.01116.60
7.3.210.0100.00716.48
7.3.200.0100.00616.68
7.3.190.0040.01816.68
7.3.180.0130.00316.73
7.3.170.0080.01216.52
7.3.160.0100.00616.80
7.2.330.0190.00016.79
7.2.320.0130.01016.73
7.2.310.0080.00916.87
7.2.300.0060.01016.86
7.2.290.0060.01016.79

preferences:
63.74 ms | 400 KiB | 5 Q