3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode('<div id="video_panel"><div class="hd"></div><div class="bd"></div></div><div id="video_properties_panel"><div class="hd">Player Properties</div><div class="bd"><label for="vid_prop_name">Name:</label>&nbsp;<input type="text" id="vid_prop_name" name="vid_prop_name" value="" maxlength="100" /><br /><br /><label for="vid_prop_player">Player design:</label>&nbsp;<select id="vid_prop_player" class="select menuvid_prop_player" name="vid_prop_player"><option selected="selected" value="6709411">Player dark (6709411)</option><option value="6709421">Player light (6709421)</option><option value="3399521">Player with no share button (3399521)</option><option value="3399531">Player with custom watermark (3399531)</option><option value="3486661">Widescreen-large (3486661)</option><option value="3488731">baird´s test player (3488731)</option><option value="3563381">No Share Player (3563381)</option><option value="3701321">Domenic Test (3701321)</option><option value="4531251">Palm Beach - 4-3 (4531251)</option><option value="4538231">Palm Beach - Wide, Controls (4538231)</option><option value="4636801">Captions Player TT/XML (4636801)</option><option value="5222591">Palm Beach - 16-9 (5222591)</option><option value="5248741">Palm Beach - no controls - auto-play (5248741)</option><option value="5248901">Palm Beach - Simple (5248901)</option><option value="5312961">Palm Beach - 16-9 - auto-play (5312961)</option><option value="5922921">Captions player (New) (5922921)</option><option value="6049091">audio (6049091)</option><option value="6076541">No Share or Play Buttons (6076541)</option><option value="6218891">DO NOT DELETE - Main MediaSpace 2.0 Player (6218891)</option><option value="6218901">DO NOT DELETE - MediaSpace 2.0 Embed Player, dark (6218901)</option><option value="6218911">DO NOT DELETE - MediaSpace 2.0 Embed Player, light (6218911)</option><option value="6218921">DO NOT DELETE - MediaSpace 2.0 Embed Player, hover controls (6218921)</option><option value="7179821">Disappearing controls (3play) (7179821)</option><option value="7346561">Player with Dowload Button (7346561)</option><option value="7376511">White auto play no controls (7376511)</option><option value="7376681">Palm Beach - no controls - auto-play - 2 (7376681)</option><option value="8595931">another 3play test (8595931)</option><option value="11008411">Widescreen with captions (11008411)</option><option value="11456931">New default player (11456931)</option><option value="11886311">Hovering controls 2-11 (11886311)</option><option value="11930821">4 x 3 Player Large (11930821)</option><option value="13924081">Embed COE Vids (13924081)</option></select><br /><br /><label for="vid_prop_dimensions">Player dimensions:</label>&nbsp;<select id="vid_prop_dimensions" class="select menuvid_prop_dimensions" name="vid_prop_dimensions"><option value="0">Normal</option><option value="1">Widescreen</option></select><br /><br /><label for="vid_prop_size">Player size:</label>&nbsp;<select id="vid_prop_size" class="select menuvid_prop_size" name="vid_prop_size"><option value="0">Large (400x365)</option><option value="1">Small (260x260)</option><option value="2">Custom size</option></select>&nbsp;&nbsp;<input type="text" id="vid_prop_width" name="vid_prop_width" value="" maxlength="3" size="3" />&nbsp;x&nbsp;<input type="text" id="vid_prop_height" name="vid_prop_height" value="" maxlength="3" size="3" /></div></div><div id="video_preview_panel"><div class="hd">Preview</div><div class="bd" id="video_preview_body"></div></div><div id="wait"><div class="hd"></div><div class="bd"></div></div>');
Output for 5.2.2 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
"<div id=\"video_panel\"><div class=\"hd\"><\/div><div class=\"bd\"><\/div><\/div><div id=\"video_properties_panel\"><div class=\"hd\">Player Properties<\/div><div class=\"bd\"><label for=\"vid_prop_name\">Name:<\/label>&nbsp;<input type=\"text\" id=\"vid_prop_name\" name=\"vid_prop_name\" value=\"\" maxlength=\"100\" \/><br \/><br \/><label for=\"vid_prop_player\">Player design:<\/label>&nbsp;<select id=\"vid_prop_player\" class=\"select menuvid_prop_player\" name=\"vid_prop_player\"><option selected=\"selected\" value=\"6709411\">Player dark (6709411)<\/option><option value=\"6709421\">Player light (6709421)<\/option><option value=\"3399521\">Player with no share button (3399521)<\/option><option value=\"3399531\">Player with custom watermark (3399531)<\/option><option value=\"3486661\">Widescreen-large (3486661)<\/option><option value=\"3488731\">baird\u00b4s test player (3488731)<\/option><option value=\"3563381\">No Share Player (3563381)<\/option><option value=\"3701321\">Domenic Test (3701321)<\/option><option value=\"4531251\">Palm Beach - 4-3 (4531251)<\/option><option value=\"4538231\">Palm Beach - \u0017Wide, Controls (4538231)<\/option><option value=\"4636801\">Captions Player TT\/XML (4636801)<\/option><option value=\"5222591\">Palm Beach - 16-9 (5222591)<\/option><option value=\"5248741\">Palm Beach - no controls - auto-play (5248741)<\/option><option value=\"5248901\">Palm Beach - Simple (5248901)<\/option><option value=\"5312961\">Palm Beach - 16-9 - auto-play (5312961)<\/option><option value=\"5922921\">Captions player (New) (5922921)<\/option><option value=\"6049091\">audio (6049091)<\/option><option value=\"6076541\">No Share or Play Buttons (6076541)<\/option><option value=\"6218891\">DO NOT DELETE - Main MediaSpace 2.0 Player (6218891)<\/option><option value=\"6218901\">DO NOT DELETE - MediaSpace 2.0 Embed Player, dark (6218901)<\/option><option value=\"6218911\">DO NOT DELETE - MediaSpace 2.0 Embed Player, light (6218911)<\/option><option value=\"6218921\">DO NOT DELETE - MediaSpace 2.0 Embed Player, hover controls (6218921)<\/option><option value=\"7179821\">Disappearing controls (3play) (7179821)<\/option><option value=\"7346561\">Player with Dowload Button (7346561)<\/option><option value=\"7376511\">White auto play no controls (7376511)<\/option><option value=\"7376681\">Palm Beach - no controls - auto-play - 2 (7376681)<\/option><option value=\"8595931\">another 3play test (8595931)<\/option><option value=\"11008411\">Widescreen with captions (11008411)<\/option><option value=\"11456931\">New default player (11456931)<\/option><option value=\"11886311\">Hovering controls 2-11 (11886311)<\/option><option value=\"11930821\">4 x 3 Player Large (11930821)<\/option><option value=\"13924081\">Embed COE Vids (13924081)<\/option><\/select><br \/><br \/><label for=\"vid_prop_dimensions\">Player dimensions:<\/label>&nbsp;<select id=\"vid_prop_dimensions\" class=\"select menuvid_prop_dimensions\" name=\"vid_prop_dimensions\"><option value=\"0\">Normal<\/option><option value=\"1\">Widescreen<\/option><\/select><br \/><br \/><label for=\"vid_prop_size\">Player size:<\/label>&nbsp;<select id=\"vid_prop_size\" class=\"select menuvid_prop_size\" name=\"vid_prop_size\"><option value=\"0\">Large (400x365)<\/option><option value=\"1\">Small (260x260)<\/option><option value=\"2\">Custom size<\/option><\/select>&nbsp;&nbsp;<input type=\"text\" id=\"vid_prop_width\" name=\"vid_prop_width\" value=\"\" maxlength=\"3\" size=\"3\" \/>&nbsp;x&nbsp;<input type=\"text\" id=\"vid_prop_height\" name=\"vid_prop_height\" value=\"\" maxlength=\"3\" size=\"3\" \/><\/div><\/div><div id=\"video_preview_panel\"><div class=\"hd\">Preview<\/div><div class=\"bd\" id=\"video_preview_body\"><\/div><\/div><div id=\"wait\"><div class=\"hd\"><\/div><div class=\"bd\"><\/div><\/div>"
Output for 5.2.0 - 5.2.1
"<div id=\"video_panel\"><div class=\"hd\"><\/div><div class=\"bd\"><\/div><\/div><div id=\"video_properties_panel\"><div class=\"hd\">Player Properties<\/div><div class=\"bd\"><label for=\"vid_prop_name\">Name:<\/label>&nbsp;<input type=\"text\" id=\"vid_prop_name\" name=\"vid_prop_name\" value=\"\" maxlength=\"100\" \/><br \/><br \/><label for=\"vid_prop_player\">Player design:<\/label>&nbsp;<select id=\"vid_prop_player\" class=\"select menuvid_prop_player\" name=\"vid_prop_player\"><option selected=\"selected\" value=\"6709411\">Player dark (6709411)<\/option><option value=\"6709421\">Player light (6709421)<\/option><option value=\"3399521\">Player with no share button (3399521)<\/option><option value=\"3399531\">Player with custom watermark (3399531)<\/option><option value=\"3486661\">Widescreen-large (3486661)<\/option><option value=\"3488731\">baird\u00b4s test player (3488731)<\/option><option value=\"3563381\">No Share Player (3563381)<\/option><option value=\"3701321\">Domenic Test (3701321)<\/option><option value=\"4531251\">Palm Beach - 4-3 (4531251)<\/option><option value=\"4538231\">Palm Beach - Wide, Controls (4538231)<\/option><option value=\"4636801\">Captions Player TT\/XML (4636801)<\/option><option value=\"5222591\">Palm Beach - 16-9 (5222591)<\/option><option value=\"5248741\">Palm Beach - no controls - auto-play (5248741)<\/option><option value=\"5248901\">Palm Beach - Simple (5248901)<\/option><option value=\"5312961\">Palm Beach - 16-9 - auto-play (5312961)<\/option><option value=\"5922921\">Captions player (New) (5922921)<\/option><option value=\"6049091\">audio (6049091)<\/option><option value=\"6076541\">No Share or Play Buttons (6076541)<\/option><option value=\"6218891\">DO NOT DELETE - Main MediaSpace 2.0 Player (6218891)<\/option><option value=\"6218901\">DO NOT DELETE - MediaSpace 2.0 Embed Player, dark (6218901)<\/option><option value=\"6218911\">DO NOT DELETE - MediaSpace 2.0 Embed Player, light (6218911)<\/option><option value=\"6218921\">DO NOT DELETE - MediaSpace 2.0 Embed Player, hover controls (6218921)<\/option><option value=\"7179821\">Disappearing controls (3play) (7179821)<\/option><option value=\"7346561\">Player with Dowload Button (7346561)<\/option><option value=\"7376511\">White auto play no controls (7376511)<\/option><option value=\"7376681\">Palm Beach - no controls - auto-play - 2 (7376681)<\/option><option value=\"8595931\">another 3play test (8595931)<\/option><option value=\"11008411\">Widescreen with captions (11008411)<\/option><option value=\"11456931\">New default player (11456931)<\/option><option value=\"11886311\">Hovering controls 2-11 (11886311)<\/option><option value=\"11930821\">4 x 3 Player Large (11930821)<\/option><option value=\"13924081\">Embed COE Vids (13924081)<\/option><\/select><br \/><br \/><label for=\"vid_prop_dimensions\">Player dimensions:<\/label>&nbsp;<select id=\"vid_prop_dimensions\" class=\"select menuvid_prop_dimensions\" name=\"vid_prop_dimensions\"><option value=\"0\">Normal<\/option><option value=\"1\">Widescreen<\/option><\/select><br \/><br \/><label for=\"vid_prop_size\">Player size:<\/label>&nbsp;<select id=\"vid_prop_size\" class=\"select menuvid_prop_size\" name=\"vid_prop_size\"><option value=\"0\">Large (400x365)<\/option><option value=\"1\">Small (260x260)<\/option><option value=\"2\">Custom size<\/option><\/select>&nbsp;&nbsp;<input type=\"text\" id=\"vid_prop_width\" name=\"vid_prop_width\" value=\"\" maxlength=\"3\" size=\"3\" \/>&nbsp;x&nbsp;<input type=\"text\" id=\"vid_prop_height\" name=\"vid_prop_height\" value=\"\" maxlength=\"3\" size=\"3\" \/><\/div><\/div><div id=\"video_preview_panel\"><div class=\"hd\">Preview<\/div><div class=\"bd\" id=\"video_preview_body\"><\/div><\/div><div id=\"wait\"><div class=\"hd\"><\/div><div class=\"bd\"><\/div><\/div>"
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/DbKaK on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/DbKaK on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/DbKaK on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/DbKaK on line 2