3v4l.org

run code in 300+ PHP versions simultaneously
<?php $render = array( 'Grille Material' => array( 'Powder-coated stainless steel' ), 'Environmental Specifications' => array( 'Maximum Heat' => '+175¡F (+79¡C)', 'Maximum Cold' => '-30¡F (-34¡C)', 'Maximum Humidity' => '99% (120¡F/49¡C) - 95% (-30¡F/-34¡C)' ), 'These speakers meet or exceed the following' => array( 'Salt Spray':'', 'UV Test':'ASTM-G23H', 'IEC/CEE Water Splashing Test':'IP-X4', 'Vibration Test':'ASTM D5112-98 and ASTM D3580-95' ), 'Limited Five (5) Year Warranty' ); print_r( json_encode( $render ) );
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
Parse error: syntax error, unexpected ':', expecting ')' in /in/BrEmI on line 13
Process exited with code 255.

preferences:
188.72 ms | 1387 KiB | 62 Q