Science Library - free educational site

Science Library Quiz

Functions (PHP)

Instructions: answer the questions, check them carefully, and when you are sure they are all right, press submit. The number of correct answers will be displayed.

Question 1: Which function returns the number of characters in a string?

Question 2: $name = str_replace('Peter', 'Arthur', $name); echo 'Hello'. $name; What would be the output of this line?

Question 3: What is the instruction for converting a string with mixed upper and lower to all lower case letters?

Select a topic for more Computing quizzes

Select a subject for more quizzes

Latest Item on Science Library

The most recent article is:

Air Resistance and Terminal Velocity

View this item in the topic:


and many more articles in the subject:

Subject of the Week


'Universe' on covers astronomy, cosmology, and space exploration. Learn Science with


Test your knowledge!

Question: Which band of the EMR spectrum is emitted by warm objects?

Go to the article about: EMR

Rewewable Media

Quote of the day...

The difficulty lies not so much in developing new ideas as in escaping from old ones.

ZumGuy Internet Promotions

Website content services