3v4l.org

run code in 300+ PHP versions simultaneously
<?php $category = new stdClass(); $category->category_name = 'T-Shirts'; $product = new stdClass(); $product->product_name = 'PTB Keep Calm'; $product->product_desc = 'PTB Keep Calm This creative design is printed&nbsp;&nbsp;on a&nbsp;Premium Fitted CVC Crew Tee&nbsp; Features:60% combed rin...'; $decoded = strip_tags(html_entity_decode("Buy " . $category->category_name." | ".$product->product_name." | ".$product->product_desc)); echo $decoded; echo "\n---\n"; echo preg_replace('~\s+~u', ' ', $decoded);
Output for git.master_jit, git.master, rfc.property-hooks
Buy T-Shirts | PTB Keep Calm | PTB Keep Calm This creative design is printed  on a Premium Fitted CVC Crew Tee  Features:60% combed rin... --- Buy T-Shirts | PTB Keep Calm | PTB Keep Calm This creative design is printed on a Premium Fitted CVC Crew Tee Features:60% combed rin...

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:
60.97 ms | 402 KiB | 8 Q