Variable handling Functions

Table of Contents

  • boolval — Get the boolean value of a variable
  • debug_zval_dump — Dumps a string representation of an internal zval structure to output
  • doubleval — Alias of floatval
  • empty — Determine whether a variable is empty
  • floatval — Get float value of a variable
  • get_debug_type — Gets the type name of a variable in a way that is suitable for debugging
  • get_defined_vars — Returns an array of all defined variables
  • get_resource_id — Returns an integer identifier for the given resource
  • get_resource_type — Returns the resource type
  • gettype — Get the type of a variable
  • intval — Get the integer value of a variable
  • is_array — Finds whether a variable is an array
  • is_bool — Finds out whether a variable is a boolean
  • is_callable — Verify that a value can be called as a function from the current scope.
  • is_countable — Verify that the contents of a variable is a countable value
  • is_double — Alias of is_float
  • is_float — Finds whether the type of a variable is float
  • is_int — Find whether the type of a variable is integer
  • is_integer — Alias of is_int
  • is_iterable — Verify that the contents of a variable is an iterable value
  • is_long — Alias of is_int
  • is_null — Finds whether a variable is null
  • is_numeric — Finds whether a variable is a number or a numeric string
  • is_object — Finds whether a variable is an object
  • is_real — Alias of is_float
  • is_resource — Finds whether a variable is a resource
  • is_scalar — Finds whether a variable is a scalar
  • is_string — Find whether the type of a variable is string
  • isset — Determine if a variable is declared and is different than null
  • print_r — Prints human-readable information about a variable
  • serialize — Generates a storable representation of a value
  • settype — Set the type of a variable
  • strval — Get string value of a variable
  • unserialize — Creates a PHP value from a stored representation
  • unset — Unset a given variable
  • var_dump — Dumps information about a variable
  • var_export — Outputs or returns a parsable string representation of a variable

Here you can write a comment


Please enter at least 10 characters.
Loading... Please wait.
* Pflichtangabe
There are no comments available yet.

PHP cURL Tutorial: Using cURL to Make HTTP Requests

cURL is a powerful PHP extension that allows you to communicate with different servers using various protocols, including HTTP, HTTPS, FTP, and more. ...

TheMax

Autor : TheMax
Category: PHP-Tutorials

Midjourney Tutorial - Instructions for beginners

There is an informative video about Midjourney, the tool for creating digital images using artificial intelligence, entitled "Midjourney tutorial in German - instructions for beginners" ...

Mike94

Autor : Mike94
Category: KI Tutorials

Basics of views in MySQL

Views in a MySQL database offer the option of creating a virtual table based on the result of an SQL query. This virtual table can be queried like a normal table without changing the underlying data. ...

admin

Autor : admin
Category: mySQL-Tutorials

Publish a tutorial

Share your knowledge with other developers worldwide

Share your knowledge with other developers worldwide

You are a professional in your field and want to share your knowledge, then sign up now and share it with our PHP community

learn more

Publish a tutorial