<?php

$a = [
	false,
	0,
	'false',
	'test',
];

$json = json_encode($a);


var_dump($json);

$b = json_decode($json);

var_dump($b);
