answersLogoWhite

0

What are garbage values in PHP?

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

PHP does not have any implemented "garbage values," nor are there any hidden meanings behind the phrase.

Garbage is typically composed of undesired items. Garbage values could refer to values which are undesired.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are garbage values in PHP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many method used to collect values in a form in php?

POST, GET & REQUEST will get the values from a form.


What is operator in php?

An operator merges two different values and outputs a new expression based on the inputted values.


What are the disavdvantges of PHP?

Its function naming and parameter order/return values are inconsistent


What is a php session?

A PHP session is a concept where specific variables (and their respective values) are carried throughout a user's viewing of a PHP-driven website. These sessions can be initialized and continued using the session_start() function. The session values are stored in the $_SESSION global variable. For more information, see the php.net documentation of session functions.


How to use strings with PHP and MySQL?

If you will see this example as below, this may help. <?php $string = mysql_real_escape_string($string); $sql = "insert into stringtable(mystring) values('$string')"; ?>


How do you pass table values from one page to another using HTML?

You cant you have to use php or javascript.


Are garbage values are fixed or changes for every execution?

Platform dependent. Of course you must not use these values, not even as random data.


How can you check if a value is already in an array in PHP?

To check if a value is already in an array you will need to use the in_array function like shown below! <?php $values = array("pizza","hello","cheese","fred"); $newvalue = "hello"; if (in_array($newvalue, $values)) { echo "$newvalue is already in the array!"; } ?>


How to reduce the memory leak in php?

If you are running into PHP memory leaks and frequent our of memory errors you can try moving your code into functions. PHP automatically does garbage collection after each function call. Another thing I see a lot of is not closing your database connection strings after using them as this cause build up and cause memory issues as well.


How do you solve the memory leak problem in php?

If you are running into PHP memory leaks and frequent our of memory errors you can try moving your code into functions. PHP automatically does garbage collection after each function call. Another thing i tend to see a lot is that connection strings are not closed after using them as this cause build up and cause memory issues as well.


What is the PHP code to get the location of the client?

there is no code for that, however when you are familiar with the google maps API you can send the required values to get its location.


How does implode work in PHP?

implode() is a handy little function that pieces together values of an array by putting a "glue" in between.