What will happen in this function call?
<?php function calc($price, $tax) { $total = $price + $tax; } $pricetag = 15; $taxtag = 3; calc($pricetag, $taxtag); ?>
The attack which involves the insertion of malicious code into a page frequented by other users is known as..
What will be the output of the following PHP code?
<?php echo lcfirst("welcome to TechEpi"); ?>
Which one of the following functions can be used to compress a string?
Which function is used to remove all HTML tags from a string passed to a form?
Who is the father of PHP?
6. Which of the looping statements is/are supported by PHP? i) for loop ii) while loop iii) do-while loop iv) foreach loop
<?php $op2 = "blabla"; function foo($op1) { echo $op1; echo $op2; } foo("hello"); ?>
<?php $fruits = array ("apple", "orange", array ("pear", "mango"), "banana"); echo (count($fruits, 1)); ?>
Which one of the following is the right way to call a class constant, given that the class is mathFunction?
PHP files have a default file extension of..
To validate an e-mail address, which flag is to be passed to the function filter_var()?
Which version of PHP introduced Try/catch Exception?
We can use ___ to comment a single line?
i) /? ii) // iii) # iv) /* */
Which of the following PHP functions can be used to get the current memory usage?
TechEpi.com is an online learning website.We cover the latest tech news,online tutorials,blog,online test for Aptitude,C,Java,PHP to improve your knowledge.