get the app get the app       get the app       get the app
How is it possible to cast types in PHP?


  • : 175
  • : 7
    Previous Next

    The name of the output type have to be specified in parentheses before the variable which is to be cast as follows:

    * (int), (integer) – cast to integer

    * (bool), (boolean) – cast to boolean

    * (float), (double), (real) – cast to float

    * (string) – cast to string

    * (array) – cast to array

    * (object) – cast to object

    you can suggest other answer in comment box


  • Exam: PHP Interview QUESTIONS





    Close(X)
    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material