note 60523 modified in function.http-build-query by danbrown

From: Date: Thu, 12 Feb 2015 17:14:40 +0000
Subject: note 60523 modified in function.http-build-query by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-201709@lists.php.net to get a copy of this message
Params with null value do not present in result string. <?php $arr = array('test' => null, 'test2' => 1); echo http_build_query($arr); ?> will produce: test2=1 --was-- Params with null value do not present in result string. <? $arr = array('test' => null, 'test2' => 1); echo http_build_query($arr); ?> will produce: test2=1 http://php.net/manual/en/function.http-build-query.php

« previous php.notes (#201709) next »