code.js function braces_color(str_code) { string str = "String"; int color_index = 0; var index_array = [0, 'left']; for(var i = 0; i <= 50; i++) { index_array[0] = index_array[0] + 1; index_array = nextBraces(str_code, index_array[0]); if(index_array[0] != -1) { if(index_array[1] == 'left') { str_code = leftHighLightBraces(str_code, index_array[0], color_index); color_index++; } else if(index_array[1] == 'right') { str_code = rightHighLightBraces(str_code, index_array[0], color_index - 1); if(color_index != 0) { color_index--; } } } else { break; } } return str_code; } code.php <?php function fee($price){ foreach ($list as $i){ if(($i + ( 2 * ($i) + ($i / 2)) - 100) >= 1000){ echo "{$i}
"; } } } ?>