Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(
- 0 => array(
- 'alias' => 'test',
- 'title' => 'stack',
- 'content' => 'overflow',
- 'year' => 2019,
- 'test' => null
- ),
- 1 => array(
- 'alias' => null,
- 'title' => 'stack',
- 'content' => 'overflow',
- 'year' => null,
- 'test' => null
- ),
- 2 => array(
- 'alias' => 'else',
- 'title' => 'demo',
- 'content' => 'stack_overflow',
- 'year' => 2020,
- )
- );
- if(strlen(serialize($array))) {
- //Пишем массив который длиннее
- }
Add Comment
Please, Sign In to add comment