Skip to Content
Programming PHP, 3rd Edition
book

Programming PHP, 3rd Edition

by Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
February 2013
Intermediate to advanced
538 pages
20h 55m
English
O'Reilly Media, Inc.
Content preview from Programming PHP, 3rd Edition

Name

array_diff_ukey

Synopsis

array array_diff_ukey(array array1, array array2
  [, ... array arrayN], callable function)

Returns an array containing all the values in array1 whose keys are not present in any of the other provided arrays. The function function is used to compare the keys of the elements for equality. The function is called with two parameters—the keys to compare. It should return an integer less than 0 if the first argument is less than the second, 0 if the first and second arguments are equal, and an integer greater than 0 if the first argument is greater than the second. The keys of the values are preserved.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming PHP, 2nd Edition

Programming PHP, 2nd Edition

Rasmus Lerdorf, Kevin Tatroe, Peter MacIntyre
Programming PHP

Programming PHP

Rasmus Lerdorf, Kevin Tatroe
Programming PHP, 4th Edition

Programming PHP, 4th Edition

Kevin Tatroe, Peter MacIntyre

Publisher Resources

ISBN: 9781449361068Supplemental ContentErrata Page