
php-mock – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 8
8369. which of the following pair have non-associative equal precedence
- #ERROR!
- -c.&=
- ===
- !=”;}}
8370. Which is a valid PHP stream transport
- ftp
- STDOUT
- http
- STDIO
8371. What will be the output of the following code – $a = 10; if ($a > 5 OR < 15) echo ‘true’; else echo ‘false’;
- Parse Error
- No output
- TRUE
- F
8372. The function used to change the connection timeout independently of the read/write timeout is,
- stream_set_timeout
- set_stream_timeout
- timeout_stream_set
- None of the above
8373. Which of the following vairables are supported by ‘str_replace()’ function
- Integer
- String
- None of the above
- Boolean
8374. Variable names in PHP are
- Precede by ^ and case sensitive
- case sensitive
- Precede by $ and case insensitive
- case insensitive
8375. What will be the lifetime of cookie, if the directive session.cookie_lifetime is set to 3600
- the browser is restarted
- 3600 hrs
- 3600 sec
- 3600 min
8376. The simplest method of finding sum of all the elements of an array is
- array_intersect function
- array_sum function
- array_count_ values()
- array with a foreach loop
8377. What is the output of the following PHP code – while() {print “hi”; }
- infinite loop
- no output
- hi
- error
8378. What will be the output of the following code – $var = 10; function fn () { $var = 20; return $var; } fn (); echo $var;
- Syntax Error
- 20
- Undefined Variable
- 10
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।