xplo.re Medusa Core Framework 3.2
  • Namespace
  • Function
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
      • Driver
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Fault
      • Formatter
        • Driver
      • Incident
        • Exception
      • Reporter
        • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • Type
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Constants

  • NAMESPACE_SEPARATOR
  • PHP_INT_MIN

Functions

  • xc_dump
  • xc_dump_bt
  • xc_dump_var
  • xc_is_callable
  • xc_serialize
  • xc_unserialize

Function xc_serialize

Serialises a variable to PHP format using the Core encoder interface.

Contrary to the standard serialize() function that does not allow serialisation of native closures, this method replaces all native closures by instances of Core\Closure that provide support for serialisation and transparently embed a native closure.

Since: 3.1
Located at Boot.inc.php

Parameters summary

mixed $var Variable to serialise.

Return value summary

string Binary string of serialised variable.
xplo.re Medusa Core Framework 3.2 API documentation generated by ApiGen