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}* )"; } } } echo $q;
Output for git.master, git.master_jit, rfc.property-hooks
( 43837720 OR 43837720~0.8 OR 43837720* )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.39 ms | 401 KiB | 8 Q