3v4l.org

run code in 300+ PHP versions simultaneously
<?php $media = (json_decode('{"headerImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Systems_SLS_Top_Shot.jpg","alt":"Systems"},"heroImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Systems_SLS_Hero.jpg","alt":"Systems"},"sharedSpecsImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Systems","alt":"Systems"},"bottomImage":{"type":"image","src":"\/assets\/media\/images\/groups\/SLS_Install.jpg","alt":"Systems"}} ')); $media->sliderImage = [ 'type' => 'image', 'src' => 'System_Icon.png', 'alt' => 'Outdoor audio systems' ]; echo json_encode( $media );

preferences:
40.89 ms | 402 KiB | 5 Q