Last active
May 29, 2020 14:40
-
-
Save ombak/f11bc9bb53076cb54beab5eeaefc55a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$array = array('sukma', 'wijaya', 'saputra'); //...array | |
$int = 14000; //...int | |
$string = 'Sukma Wijaya Saputra'; //...string | |
//...generate value | |
$aData = serialize($array); | |
$sData = serialize($int); | |
$iData = serialize($string); | |
echo $aData; | |
echo $sData; | |
echo $iData; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment