3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows = array( [ 'UKM_Make' => 'Honda', 'UKM_Model' => 'XL', 'UKM_CCM ' => 600, 'Year' => 1999, 'UKM_Submodel' => 'V', 'UKM_StreetName' => 'Transap' ], [ 'UKM_Make' => 'Honda', 'UKM_Model' => 'CR', 'UKM_CCM ' => 800, 'Year' => 2004, 'UKM_Submodel' => 'V', 'UKM_StreetName' => 'Transap' ], [ 'UKM_Make' => 'Ford', 'UKM_Model' => 'Focus', 'UKM_CCM ' => 900, 'Year' => 1999, 'UKM_Submodel' => 'V', 'UKM_StreetName' => 'Transap' ], [ 'UKM_Make' => 'Ford', // Dupe 'UKM_Model' => 'Focus', 'UKM_CCM ' => 900, 'Year' => 1999, 'UKM_Submodel' => 'V', 'UKM_StreetName' => 'Transap' ] ); $rows = array_map('unserialize', array_unique(array_map('serialize', $rows))); foreach(array_filter($rows, function($data) { return count(array_diff(explode(' ', 'Honda XL'), $data)) == 0; }) as $data) { var_dump($data); }
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { ["UKM_Make"]=> string(5) "Honda" ["UKM_Model"]=> string(2) "XL" ["UKM_CCM "]=> int(600) ["Year"]=> int(1999) ["UKM_Submodel"]=> string(1) "V" ["UKM_StreetName"]=> string(7) "Transap" }

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