3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $bestelId = '34'; $tmp = array(); if($bestelId == null){ $tmp[] = '1'; } $attr = array( 'track_trace' => '2', 'supplier' => '3', 'visual_status' => '4' ); array_push($attr, $tmp);
based on AQB5c
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.0 - 7.3.0beta1