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. Which superglobal variable holds information about headers, paths, and script locations? A) $_GET B) $GLOBALS C) $_SESSION D) $_SERVER 2 / 6 2. What does PHP stand for? A) Personal Hypertext Processor B) Private Home Page C) PHP: Hypertext Preprocessor 3 / 6 3. The PHP syntax is most similar to: A) Perl and C B) VBScript C) JavaScript 4 / 6 4. What is the correct way to open the file "time.txt" as readable? A) fopen("time.txt","r"); B) open("time.txt"); C) fopen("time.txt","r+"); D) open("time.txt","read"); 5 / 6 5. What is the correct way to create a function in PHP? A) create myFunction() B) function myFunction() C) new_function myFunction() 6 / 6 6. When using the POST method, variables are displayed in the URL: A) Tõene B) Vale Teie tulemus onKeskmine tulemus on 89% 0% Alusta viktoriini uuesti