Question

1. Which is not a valid php comparison operator? !==         =>         ==...

1. Which is not a valid php comparison operator?

!==

       
=>

       
==

       
<>

2. What is the data type of $totalqty after processing the following statement?
$totalAmount = (float)$totalqty;  

integer   

float

  
double

       
no data type

3.

If date() gives you a warning about not having set the timezone, you should:

       
Add the date.timezone setting to your .php file.

       
Add the date.timezone setting to your php.ini file.

       
Add the $timezone() in your .php file.

       
Add the $timezone() setting to your php.ini file.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Q1. Which is not a valid php comparison operator?
Answer:--------
=>

Q2. What is the data type of $totalqty after processing the following statement?
$totalAmount = (float)$totalqty;  
​​​​​​​Answer:-------- float

Q3. If date() gives you a warning about not having set the timezone, you should:
Answer:-------
Add the date.timezone setting to your .php file​​​​​​​

Add a comment
Know the answer?
Add Answer to:
1. Which is not a valid php comparison operator? !==         =>         ==...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • In this research, you are asked to write about php programming language, write a dummy paper...

    In this research, you are asked to write about php programming language, write a dummy paper to show all the required information about this language that might help readers with less knowledge to know how to use it. Use the following points to talk about your programming language: - The historical background when, how this language began and, what is the domain that it was used for. - The category of this language, according to Language categories in Chapter1. -...

  • Someone Please Help Me modify this in PHP I'm in desperate need I cant figure this out ... Make t...

    Someone Please Help Me modify this in PHP I'm in desperate need I cant figure this out ... Make the following modifications: For the vendors table: Comment out the table-level primary key Change the VendorIDcolumn to be a column-level primary key Add a VendorEmail column to the bottom of the table definition (define the data type for the column as variable character and set it to not exceed 45 characters) After the lineItems table, add code to create a table...

  • Must be written in JAVA Code Write a program that will read in a file of student academic credit data and create a list of students on academic warning. The list of students on warning will be written...

    Must be written in JAVA Code Write a program that will read in a file of student academic credit data and create a list of students on academic warning. The list of students on warning will be written to a file. Each line of the input file will contain the student name (a single String with no spaces), the number of semester hours earned (an integer), the total quality points earned (a double). The following shows part of a typical...

  • # After the if statement that follows is executed, what will the value of $discount_amount be?...

    # After the if statement that follows is executed, what will the value of $discount_amount be? $discount_amount; $order_total = 200; if ($order_total > 200) { $discount_amount = $order_total * .3; } else if ($order_total > 100) { $discount_amount = $order_total * .2; } else { $discount_amount = $order_total * .1; }         2         20         40         60 # To open a file in PHP, you use the _________ function.         fopen()        ...

  • PHP - Use of classes This is a further development of the previous task, the participant...

    PHP - Use of classes This is a further development of the previous task, the participant registration. You must use the following Participant class. <?php class Deltaker { private $etterNavn; private $forNavn; private $fAar; function __construct(string $fornavn, string $etternavn, string $aar) { $this->forNavn = $fornavn; $this->etterNavn = $etternavn; $this->fAar = $aar; } function hentEtterNavn() : string { return $this->etterNavn; } function hentForNavn() : string { return $this->forNavn; } function hentFAar() : string{ return $this->fAar; } //Setters function settForNavn(string $fornavn) {...

  • In an effort to develop in-depth knowledge of base class, derived class, and operator overloading, we...

    In an effort to develop in-depth knowledge of base class, derived class, and operator overloading, we will expand on our in-class exercise of developing the rectangleType class and overload the following operators: +, -, *, ++, --, ==, !=, >>, and <<. Your program should contain the following features: a. Create a base class named rectangleType with following private data members: • length with double type • width with double type b. rectangleType class should contain the following functions: •...

  • 1) Which statement is TRUE about the subroutine MyProcedure and the statement calling MyProcedure? Call statement:...

    1) Which statement is TRUE about the subroutine MyProcedure and the statement calling MyProcedure? Call statement: MyProcedure(100.0, 1000.0, 209.53) Subroutine: Sub MyProcedure(ByVal var1 As String, ByVal var2 As Double. ByVal var3 As Double) End Sub O 10000 is a constant and cannot be used as an argument value Only variables can be used as arguments in a subroutine call statement O In the call statement, a String value is provided where a Double is expected O In the call statement,...

  • In this exercise, you will create a script called file_ops.sh that uses the various file operators...

    In this exercise, you will create a script called file_ops.sh that uses the various file operators The file_ops.sh script will Use one command line argument Use four IF THEN statement to compare the first command line argument Determine which file operators to use that produces the following output when the script run with the arguments shown WARNING: In the IF THEN statements, to avoid syntax error messages, there must be a space before and after each bracket and also between...

  • this is a C++ program! You will write a program that performs the following tasks for...

    this is a C++ program! You will write a program that performs the following tasks for a simple mathematical calculator: (1) Open a user-specified file for input. Prompt for the name of the file, read it into a string variable, echo print it to the terminal and then open it. If the file is not opened, enter into a loop that prints out an error message, resets the input file stream variable (see the hints section), obtains a new file...

  • QUESTION 1 Given two double variables named x and y, which of the following statements could...

    QUESTION 1 Given two double variables named x and y, which of the following statements could you use to initialize both variables to a value of 0.0? a. x | y = 0.0; b. x = y = 0.0; c. x, y = 0.0; d. none of the above 1 points    QUESTION 2 When you use a range-based for loop with a vector, you a. can avoid out of bounds access b. must still use a counter variable c....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT