3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( 'image_ul' => $image, 'brand_name' => $brand, 'ean' => $ean, 'meta_matrix' => array( 'Style name' => $label, 'Artikelnummer' => $sku, 'Size' => $size, 'Farbe' => $color, ), ); echo json_encode($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $image in /in/NNWiT on line 3 Warning: Undefined variable $brand in /in/NNWiT on line 4 Warning: Undefined variable $ean in /in/NNWiT on line 5 Warning: Undefined variable $label in /in/NNWiT on line 7 Warning: Undefined variable $sku in /in/NNWiT on line 8 Warning: Undefined variable $size in /in/NNWiT on line 9 Warning: Undefined variable $color in /in/NNWiT on line 10 {"image_ul":null,"brand_name":null,"ean":null,"meta_matrix":{"Style name":null,"Artikelnummer":null,"Size":null,"Farbe":null}}

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:
56.37 ms | 402 KiB | 8 Q