3v4l.org

run code in 300+ PHP versions simultaneously
<?php $callArgs = array( 0 => "%s is called %d time instead of %d", 1 => "%s is called %d times instead of %d", 2 => 0, 3 => "54180a72890e8", 4 => 0, 5 => 1 ); $thisArgs = array( 0 => "%s is called %d time instead of %d", 1 => "%s is called %d times instead of %d", 2 => 0, 3 => "54180a72890e8", 4 => 0, 5 => 1 ); $callback = function($a, $b) { return ($a === $b ? 0 : -1); }; var_dump(array_uintersect_uassoc($callArgs, $thisArgs, $callback, $callback));
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> string(34) "%s is called %d time instead of %d" [1]=> string(35) "%s is called %d times instead of %d" [2]=> int(0) [3]=> string(13) "54180a72890e8" [4]=> int(0) [5]=> int(1) }

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