3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<< EOB /** preloader colors **/ @preloader_bg: #0081ff; @preloader_color: #fff; /** layout **/ @body_bg_image_position: ~'left top'; @body_bg_image_repeat: ~'no-repeat'; @body_bg_image_cover: ~'auto'; @body_bg_image: ~''; EOB; preg_match_all("~^@([^:]+):[\~\s'\"]*([^;]+)['\";]*$~m", $str, $matches); var_dump(array_combine($matches[1], $matches[2]));
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { ["preloader_bg"]=> string(7) "#0081ff" ["preloader_color"]=> string(4) "#fff" ["body_bg_image_position"]=> string(9) "left top'" ["body_bg_image_repeat"]=> string(10) "no-repeat'" ["body_bg_image_cover"]=> string(5) "auto'" ["body_bg_image"]=> string(1) "'" }

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