How to generate random character strings in a range in PHP?


Fatal error: Uncaught Error: Call to a member function id() on array in /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'function genera...') #3 /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('function genera...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /homepages/41/d688093201/htdocs/wp-content/ in /homepages/41/d688093201/htdocs/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36