<?php $i=2; const BIT_1 = 0; // compile time: heeds lexical grammar rules define('BIT_'.$i,1); // runtime: more flexibility in naming echo BIT_1,"\n"; echo BIT_2,"\n";
You have javascript disabled. You will not be able to edit any code.