PHP

ction __construct() {echo "I know C++";} } class second_year_student extends first_year_student{ function __construct() { {echo "and PHP ";} } } $d=new first_year_student(); $c=new second_year_student(); ?>
I know C++ and PHP
ction __construct(){ echo "My Class!";} } class new_class extends myclass{ function __construct(){ echo "Hello "; parent::__construct(); } } $c= new new_class(); ?>
Hello My Class!
When using the POST method, variables are displayed in the URL:
True
False
The PHP syntax is most similar to:
A. Perl and C
B. VBScrip
C. JavaScript
TypeScript
Fatall Error
Tom
Undefined variable $Tom
Julia
PHP can be run on Microsoft Windows IIS(Internet Information Server):
True
False
$colors=...................("orange","yellow","blue","green","violet"); echo $colors[2]; ?>
Array
PHP server scripts are surrounded by delimiters, which?
<?php…?>
<&>...</&>
<?php>...</?>
<script>...</script>
Print The sum is: 1000.35$
1000.35$
Синтактична грешка
Тхе сум ис: 1000.35$
What is the correct way to create a function in PHP?
New_function myFunction()
Create myFunction()
Function myFunction()
Create->myFunction()
Допъленете PHP израз за извличане на данни от текстово поле на HTML формуляр с име 'weight',изпратени към сървъра (submitted), с метода "get":
$myData=$_GET['weight'];
Посочете правилния отговор: В PHP има налице множествено наследяване ?
Истина
Неистина
3,"Dean"=>6,"Boris"=>5,"George"=>2); sort($students); echo $students[1]; ?>
3
Кой от следните методи може да се използва за създаване на MYSQL база данни с помощта на PHP
Mysql_query()
Mysql_connect()
None of the above
Mysql_close()
ction &f(){ return $GLOBALS["my_age"]; } $my_age=20; $his_age=&f(); $his_age=22; echo "$my_age"; ?>
22
Оператор goto е наличен в PHP?
True
False
Include files must have the file extension ".inc"
True
False
{"name":"PHP", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"ction __construct() {echo \"I know C++\";} } class second_year_student extends first_year_student{ function __construct() { {echo \"and PHP \";} } } $d=new first_year_student(); $c=new second_year_student(); ?>, ction __construct(){ echo \"My Class!\";} } class new_class extends myclass{ function __construct(){ echo \"Hello \"; parent::__construct(); } } $c= new new_class(); ?>, When using the POST method, variables are displayed in the URL:","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.