1--TEST--
2Verifies the correct conversion of objects to arrays
3--FILE--
4<?php
5class foo
6{
7    private $private = 'private';
8    protected $protected = 'protected';
9    public $public = 'public';
10}
11var_export((array) new foo);
12?>
13--EXPECT--
14array (
15  '' . "\0" . 'foo' . "\0" . 'private' => 'private',
16  '' . "\0" . '*' . "\0" . 'protected' => 'protected',
17  'public' => 'public',
18)
19