Answers for "array int value convert to string in php"

PHP
14

integer to string php

return strval($integer);
Posted by: Guest on April-06-2020
1

Convert an Array to a String in PHP

phpCopy<?php
   $array = ["Lili", "Rose", "Jasmine", "Daisy"];
   $JsonObject = json_encode($array);
   echo "The array is converted to the Json string.";
   echo "\n"; 
   echo"The Json string is $JsonObject";
?>
Posted by: Guest on April-23-2021

Code answers related to "array int value convert to string in php"

Browse Popular Code Answers by Language