3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<< 'JSON' [{"title": "<U><b>01420111</U></b> General Physics I","locations": "หมู่ 1 ห้อง PHYS 101<br>กุลพันธ์ <br> เวลา: 11:00-12:30","start": 240, "end": 330, "color": "#009688"},{"title": "<U><b>01417167</U></b> Engineering Mathematics I","locations": "หมู่ 1 ห้อง LH 3-304<br>ชาญ,กนกรัตน์ <br> เวลา: 13:00-14:30","start": 360, "end": 450, "color": "#00bcd4"}] JSON; print_r(json_decode($json));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => stdClass Object ( [title] => <U><b>01420111</U></b> General Physics I [locations] => หมู่ 1 ห้อง PHYS 101<br>กุลพันธ์ <br> เวลา: 11:00-12:30 [start] => 240 [end] => 330 [color] => #009688 ) [1] => stdClass Object ( [title] => <U><b>01417167</U></b> Engineering Mathematics I [locations] => หมู่ 1 ห้อง LH 3-304<br>ชาญ,กนกรัตน์ <br> เวลา: 13:00-14:30 [start] => 360 [end] => 450 [color] => #00bcd4 ) )

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:
166 ms | 407 KiB | 5 Q