php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch add-fronk-support for *General Issues Bug #67608Patch version 2014-07-11 15:23 UTC Return to Bug #67608 | Download this patchPatch Revisions: Developer: rafavega@gmail.com$lines = array( '1' => array( '1A' ), '2' => array( '2A', '2B', '2C' ) ); foreach($lines as &$items){ foreach($items as $key => $value){ if($value=='2B') unset($items[$key]); } } $items = array(); foreach($lines as $key => $items){ print_r($items); } |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Tue Dec 03 17:01:29 2024 UTC |