Greetings, welcome to the Forums.
Japanese Euonymus (Euonymus japonicus) in the Bitter-sweet Family (Celastraceae). The species is native to Japan and Korea.
The plant pictured is/was one of the yellow-leaved cultivars. It appears most similar to Euonymus japonicus 'Aureus', but in any case, the variegation is unstable and the shrub often reverts to a green-leaved form.
More notable are the plant's two fasciated stems, described above as 'a cactus'. It would be fun to attempt to conserve or even separately root these curious branches, though success may prove elusive.
Stem fasciation occurs when a stems growing tip becomes malformed and begins to grow in a planar or otherwise distorted fashion. Fasciation can be a stable mutation, though it can also be caused by injury or insect damage. Fasciated forms of collectable plants are often prized by lovers of the bizarre, though they sometimes prove harder to keep, as fasciation can make a plant prone to rot.