Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
PHP Programming quiz, level Intermediate, question 5
Question: To read a file into an array, which function might you use?
Answer 1: file()
This was the CORRECT answer
Answer 2: file_read()
Answer 3: array_walk()
Answer 4: There's no single function to do this; you have to use a loop, using fgets() to read each line and checking for completion using feof()
Answer 5: slurp()
Answer 6: pull()

This was a question from our quiz ... but we have now provided you with the answer (above) - we prefer to provide you with information rather than to puzzle you.
Lua
PHP
Perl
Java
MySQL
Python
Linux
Apache Tomcat
Apache httpd
C and C++
Tcl and Tcl/Tk
Hotel
Recent additions


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho