3v4l.org

run code in 300+ PHP versions simultaneously
<?php $media = (json_decode('{"headerImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Small_RS_Visual_Performance_Top_Shot.jpg","alt":"Small Round & Square"},"heroImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Small_RS_Visual_Performance_Hero.jpg","alt":"Small Round & Square"},"sharedSpecsImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Small_Round_&_Square","alt":"Small Round & Square"},"bottomImage":{"type":"image","src":"\/assets\/media\/images\/groups\/VP_Install.jpg","alt":"Small Round & Square"}}')); $media->sliderImage->type = 'image'; $media->sliderImage->src = 'Small_RS_Icon.png'; $media->sliderImage->alt = 'Small round or square in-ceiling speakers to match the shape of down lights'; echo json_encode( $media );
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Attempt to assign property "type" on null in /in/aJcPo:5 Stack trace: #0 {main} thrown in /in/aJcPo on line 5
Process exited with code 255.

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