How to calculate keyword frequency and draw the bar chart in PHPThis post shows you how to calculate the keyword frequency from text and draw the bar chart by using the JpGraph library.2 min read·yanyy.hashnode.devJul 11, 2022
How to count words in a string in PHPShow you how to count words and extract words from a string by using the PHP function str_word_count()2 min read·yanyy.hashnode.devJun 29, 2022
Create an object from a string variable in PHPIn PHP, objects can be created from string variables. It provides a very convenient way for you to define rules in text and handle requests dynamically.2 min read·yanyy.hashnode.devJun 4, 2022
Reverse an array in PHP by using recursionLet's go back to a computer science textbook topic. Show you how to reverse an array in PHP without using any native array functions such as array_xxx().3 min read·yanyy.hashnode.devMay 15, 2022
PHP functions strcspn() and strspn()Show you how to use the PHP functions strcspn() and strspn()2 min read·yanyy.hashnode.devMay 4, 2022