Cannot access empty property php error
Check your code in the php for something like $this->$property_name.
You should have it as $this->property_name [without dollar sign]
See how you would solve these known algorithm problems
Find the first occurence of number in the sorted arrayGet maximum occurring character
find longest word in the sentence
Find longest palindrom from sequence of characters
testing k complementary pairs algorithm with junit
Implementing tokenizer and adding tokens to the linked list
Java solution for checking anagram strings – tell if phrases are anagrams
Check if there are three numbers a, b, c giving a total T from array A
Find K Complementary numbers from array Java implementation
Check if two strings are anagrams or not