1--TEST-- 2ReflectionClass::export() - array constants 3--FILE-- 4<?php 5Class A { 6 const A = 8; 7 const B = ["a", "b"]; 8} 9ReflectionClass::export("A"); 10?> 11--EXPECTF-- 12Class [ <user> class A ] { 13 @@ %s 2-5 14 15 - Constants [2] { 16 Constant [ integer A ] { 8 } 17 Constant [ array B ] { Array } 18 } 19 20 - Static properties [0] { 21 } 22 23 - Static methods [0] { 24 } 25 26 - Properties [0] { 27 } 28 29 - Methods [0] { 30 } 31} 32