PHP Quiz PHP Viktoriin Kui tahad oma oskused PHP programmeerimises proovile panna ja teadmisi kinnistada, siis see PHP viktoriin on just sulle. Viktoriin sisaldab küsimusi PHP põhitõdede, süntaksi ja loogika kohta ning sobib nii õppimiseks kui ka enesekontrolliks. 1 / 6 1. The PHP syntax is most similar to: A) VBScript B) JavaScript C) Perl and C 2 / 6 2. When using the POST method, variables are displayed in the URL: A) Vale B) Tõene 3 / 6 3. What is the correct way to open the file "time.txt" as readable? A) fopen("time.txt","r"); B) open("time.txt","read"); C) open("time.txt"); D) fopen("time.txt","r+"); 4 / 6 4. Which superglobal variable holds information about headers, paths, and script locations? A) $GLOBALS B) $_GET C) $_SESSION D) $_SERVER 5 / 6 5. What does PHP stand for? A) Personal Hypertext Processor B) PHP: Hypertext Preprocessor C) Private Home Page 6 / 6 6. What is the correct way to create a function in PHP? A) function myFunction() B) new_function myFunction() C) create myFunction() Teie tulemus onKeskmine tulemus on 89% 0% Alusta viktoriini uuesti