3v4l.org

run code in 300+ PHP versions simultaneously
<?php $render = array( 'Dimensions' => array( 'Diameter' => '11 5/8" (295mm)' ), 'Cutout' => array( 'Diameter' => '10 1/80 (257mm)' ), 'Dimensions with Square Grille' => array( 'Width' => '11 3/4" (299mm)', 'Height' => '11 3/4" (299mm)' ), 'Depth' => array( '5 7/8" (149mm)' ), 'Grille Material' => array( 'Perforated steel' ), 'Limited Five Year Warranty' ); print_r( json_encode( $render ) );
Output for git.master, git.master_jit, rfc.property-hooks
{"Dimensions":{"Diameter":"11 5\/8\" (295mm)"},"Cutout":{"Diameter":"10 1\/80 (257mm)"},"Dimensions with Square Grille":{"Width":"11 3\/4\" (299mm)","Height":"11 3\/4\" (299mm)"},"Depth":["5 7\/8\" (149mm)"],"Grille Material":["Perforated steel"],"0":"Limited Five Year Warranty"}

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