Answers for "php set variable"

PHP
1

php set environment variable

putenv('NAME=VALUE');

// NAME may contain whitespaces ->
putenv('NAME=VALUE') 
// is not equivalent to 
putenv('NAME = VALUE')
Posted by: Guest on July-07-2020
10

php variables

<?php
  $string = 'string';
  $number = 1;
?>
Posted by: Guest on October-02-2020
1

how to make a variable in php

$varName = "Hello, World";
Posted by: Guest on December-18-2019

Browse Popular Code Answers by Language