Skip to content

shasoft/data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Пакет для манипуляции данными

// Данные в строку
$str = Str::to([1, true, 2.3, 'Строка']);
// Строку в данные
$data = Str::from($str);
var_dump($data);
// Вывод
array(4) {
  [0] => int(1)
  [1] => bool(true)
  [2] => float(2.3)
  [3] => string(12) "Строка"
}