私は stdClass の配列を持っています:
array (size=2)
0 =>
object(stdClass)[2136]
public 'id' => string '1946' (length=4)
public 'office' => string 'test' (length=4)
public 'level1' => string 'test level 1' (length=12)
1 =>
object(stdClass)[2135]
public 'id' => string '1941' (length=4)
public 'office' => string 'test' (length=4)
すべての「テスト」値をスパンタグでラップするにはどうすればよいですか?