PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE TABLE albedo_asp_words (Word text); INSERT INTO albedo_asp_words VALUES ('WTF?!!! ');
Copy Clear
Copy Format Clear
<?php $n = 10; for ($i = 0; $i <= $n; $i++) { $strn = strval(decbin($i)); echo "Find '1' within " . $strn . PHP_EOL; $count = mb_substr_count( $strn, "1"); $arrorcount[] = $count; } print_r($arrorcount);
Show:  
Copy Clear