--TEST-- igbinary object with reference to ArrayObject --INI-- ; Note that php 8.1 deprecates using Serializable without __serialize/__unserialize but we are testing Serialize for igbinary. Suppress deprecations. error_reporting=E_ALL & ~E_DEPRECATED --FILE-- --EXPECT-- Called serialize %00%00%00%02%14%04%06%00%25%00%06%01%25%22%01%06%02%25%11%06endcap%06%03%25%01%02 array(4) { [0]=> &NULL [1]=> &NULL [2]=> &string(6) "endcap" [3]=> &string(6) "endcap" }