3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'PhysicalAddress:E8-6A-64-DE-48-60PhysicalAddress:04-EA-56-08-E6-8EPhysicalAddress:04-EA-56-08-E6-8FPhysicalAddress:06-EA-56-08-E6-8EPhysicalAddress:04-EA-56-08-E6-92'; $components = str_split($string, 33); $query = "SELECT * FROM table1 WHERE preview LIKE '%" . implode("%'\n AND preview LIKE '%", $components) . "%'"; echo $query;
Output for git.master, git.master_jit, rfc.property-hooks
SELECT * FROM table1 WHERE preview LIKE '%PhysicalAddress:E8-6A-64-DE-48-60%' AND preview LIKE '%PhysicalAddress:04-EA-56-08-E6-8E%' AND preview LIKE '%PhysicalAddress:04-EA-56-08-E6-8F%' AND preview LIKE '%PhysicalAddress:06-EA-56-08-E6-8E%' AND preview LIKE '%PhysicalAddress:04-EA-56-08-E6-92%'

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:
43.84 ms | 1692 KiB | 4 Q