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:


View this item in the topic:

Vectors and Trigonometry

and many more articles in the subject:

Subject of the Week


Physics is the science of the very small and the very large. Learn about Isaac Newton, who gave us the laws of motion and optics, and Albert Einstein, who explained the relativity of all things, as well as catch up on all the latest news about Physics, on

Gravity lens

Test your knowledge!

Question: Which band of the EMR spectrum is used to examine structures of crystals and other materials?

Go to the article about: EMR

Lugano English

Quote of the day...

Mathematics is the language with which God has written the universe.

ZumGuy Internet Promotions