3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arrayList = "20891,20892,20896,20897,20898,20901,20902,20903,20904,20905"; $product_item = array('pid' => 20891); if(in_array($product_item['pid'], json_decode("[".$arrayList."]"))) { print "Found it!"; }
Output for git.master, git.master_jit, rfc.property-hooks
Found it!

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