3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name1_arr = array('山田','山内','田中'); $name2_arr = array('太郎','二郎','三郎'); $text = sprintf( 'こんにちは、%s。', implode( '、', array_map( function ($a, $b) { return $a . $b . 'さん'; }, $name1_arr, $name2_arr ) ) ); echo $text;
Output for git.master, git.master_jit, rfc.property-hooks
こんにちは、山田太郎さん、山内二郎さん、田中三郎さん。

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