destroy php variable
<?php
$first = 100;
$second = 200;
$third = $first + $second;
echo "Sum = ".$third;
// Destroy a variable with unset function
unset($third);
//after delete the variable call it again to test
echo "Sum = ".$third;
?>// Destroy a variable
<?php
unset ($var1, $var2.... )
?>
Also in PHP:
- Your Composer dependencies require a PHP version ">= 7.2.0".
- clear session laravel
- catch get error php
- domain only request php
- custom rule laravel validation
- check key exist php
- find largest element of an array in php
- eventtypesseeder laravel
- Malformed UTF-8 characters, possibly incorrectly encoded
- catch new exception php
- clear server cache laravel
- composer laravel 7
- exposé tinker laravel
- Your requirements could not be resolved to an installable set of packages. Problem 1 - phpunit/phpunit 9.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
- change header location in php
- cache laravel
- error_reporting( ~E_NOTICE )
- carbon add minutes
- array map php
- check if key exists in dictionary php
- display datetime in php
- base64 dencode GET variables in PHP
- db seeder laravel 5
- find data format in php