FSSE8INFO
#php serialize() encodes null's as 'N'
  • FSSE8INFO
    • drafts
    • 2013
    • 2014
      • 01
      • 02
      • 03
      • 06
      • 07
      • 08
        • m$ @BuildWinJS #webdev #winjs #js #javascript web gui library
        • oracle orac uek gnu/linux #zend server #php oci8 howto with #yum #sysadmin #webdev
        • #php #mysql #pdo prepare and single quotes #gotcha
        • bitnami redmin vm ssh enable
        • git stash
        • smartbear soapui #flos #opensource #api #rest #soap #json #xml test tool for #webdev and #qa
        • 2015 09 15 php serialize encode
        • how to convert vmware .vmdk disks into m$ hyper-v .vhd disks
        • #london #tube #weekend engineering work status updates from #TFL
        • mariadb, mysql and percona 5.5 general query and slow query logging
        • PHP Framework Interop Group #webdev Standards
        • #phpfig and #zend #php #webdev abstract class naming convention confusion
      • 10
      • 11
      • 12
    • 2016
    • 2017
    • 2018
    • 2019
    • 2020
    • 2021
    • 2022
    • 2023
    • 2024
    • 2025
    • 2026
  1. FSSE8INFO
  2. Posts
  3. 2015
  4. 09
  5. 2015 09 15 php serialize encode

#php serialize() encodes null's as 'N'

php serialize() encodes null's as the character 'N'

  • http://php.net/manual/en/language.oop5.serialization.php
  • http://php.net/manual/en/function.serialize.php#66147
IN 
<?php
$a = array('a'=>123,'b'=>NULL);
echo serialize($a);
?>

OUT
a:2:{s:1:"a";i:123;s:1:"b";N;}
encode null php serialise serialize
Previous
smartbear soapui #flos #opensource #api #rest #soap #json #xml test tool for #webdev and #qa
Next
how to convert vmware .vmdk disks into m$ hyper-v .vhd disks
Copyright © 2026 osde.info
Made with Zensical