3v4l.org

run code in 300+ PHP versions simultaneously
<?php $g_demographics_value_0['id'] = 'a'; $g_demographics_value_1['id'] = 'b'; $g_demographics_value_2['id'] = 'c'; $g_demographics_value_3['id'] = 'd'; $g_demographics_value_4['id'] = 'e'; $g_demographics_value_5['id'] = 'f'; $g_demographics_value_6['id'] = 'g'; $g_demographics_value_7['id'] = 'h'; $g_demographics_value_8['id'] = 'i'; $g_demographics_value_9['id'] = 'j'; $d4_c_d_v = ''; for($i = 0; $i < 10; ++$i) { if ($i) { $d4_c_d_v .= ','; } $d4_c_d_v .= ${"g_demographics_value_$i"}['id']; } echo $d4_c_d_v;
Output for git.master_jit, git.master, rfc.property-hooks
a,b,c,d,e,f,g,h,i,j

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:
156.14 ms | 405 KiB | 5 Q