3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $fruit["apple"] = "リンゴ"; $fruit["orange"] = "ミカン"; $fruit["grape"] = "ブドウ"; foreach ($fruit as $key => $value) { echo '<pre>'; print_r($fruit[$key]); echo '</pre>'; } if ( !isset( $fruit ) ) { $deleteFiles[] = "{$value['directory']}/{$key}"; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre>リンゴ</pre><pre>ミカン</pre><pre>ブドウ</pre>