3v4l.org

run code in 300+ PHP versions simultaneously
<?php function TRIM_SEARCH_TABLE_UNIQ($column,$what) { $Find=0; $e1=strpos('0'.trim(strtolower($column)),trim(strtolower($what))); $e2=strpos('0'.trim(($what)),trim(strtolower($column))); if(($e1>0)||($e2>0)) { $Find=1; return " YES "; } return " NO "; } //example 1 : $column="smith"; $what="mike smith"; echo(TRIM_SEARCH_TABLE_UNIQ($column,$what)); //example 2 : $column="mike smith"; $what="smith"; echo(TRIM_SEARCH_TABLE_UNIQ($column,$what)); //example 3 : $column="andreas"; $what="smith"; echo(TRIM_SEARCH_TABLE_UNIQ($column,$what)); ?>
Output for git.master, git.master_jit, rfc.property-hooks
YES YES NO

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:
19.06 ms | 401 KiB | 8 Q