
php-mock – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 17
8459. What is the output of the following PHP code – $i = 0; for ($i) { print $i; }
- infinite loop
- error
- no output
- 0
8460. What is the output of the following PHP code – $colors = array("red","green","blue","yellow"); foreach ($colors as $value) { echo "$value <br>";}
- error
- red
- no output
- red green blue yellow
8461. Usually, PHP stores session data in
- Database
- Filesystem
- Shared memory
- None of the above
8462. The output of following script is $a = ‘able osts indy’; echo wordwrap($a, 1, "c", false);
- ablecostscindy.
- able costs cindy.
- able costscindy.
- ablecosts cindy.
8463. Variable names are preceded by
- $
- &
- ^
- *
8464. What is the output of the following PHP code – $x; if ($x == 0) print "hi" ; else print "how are u"; print "hello"
- No output
- hihello
- hi
- how are uhello
8465. The function used to compare two strings using a case-insensitive binary algorithm is
- strcasecmp()
- strcmp()
- stristr( )
- stricmp( )
8466. Which of the following functions output text
- display()
- print()
- None of the above
- println()
8467. Multiple select/load is possible with:
- Checkbox
- Select
- File
- All of the above
8468. Which of the following is not a predefined constant
- T
- _FILE_
- F
- NULL
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।