Closed ajupazhamayil closed 1 year ago
Note:
php > $nullValue = null;
php > $zero = '0';
php > $text = 'test';
php > print(!isset($nullValue) . PHP_EOL . !isset($zero) . PHP_EOL . !isset($text) . PHP_EOL);
1
php > print(empty($nullValue) . PHP_EOL . empty($zero) . PHP_EOL . empty($text) . PHP_EOL);
1
1
Fixes https://github.com/firebase/php-jwt/issues/504