The PHP 100 Tests, Answers & Explanations is a useful book for beginners. This book can help you to: Pass the final examination; Pass the job interview examination; Pass the engineer certification examination;
From this book, you can test: PHP Basic; Control Statement; Class, Object, Method & Interface; String ; Array, File Handling, Cookies and Sessions, MySQL; ……
Table of Contents Chapter 1 PHP Basic Chapter 2 Statements Chapter 3 Array Chapter 4 Dynamic Data Chapter 5 File Process Chapter 6 Class & Object Chapter 7 MySQL Chapter 8 MySQL & PHP Chapter 9 Advance PHP Chapter10 Errors
Test example 1: 21. What is the output in the following code? $arr=array(5=>100, 101, 102, 103, 10>=105); echo $arr[9]; ?> A. 9 B. 104 C. 0 D. null Answer : …… Explanation: ……
Test example 2: 100. To record the IP address of visitors to the web page, use______. A. $_SERVER[‘HTTP_REFERER’] B. $_SERVER[‘PHP_SELF’] C. $_SERVER[‘HTTP_USER_AGENT’] D. $_SERVER[‘REMOTE_ADDR’] Answer : …… Explanation: ……