This plant has no leaves or thorns and its sap is transparent and the stems are soft.
This message was edited Feb 20, 2018 7:24 AM
Looks like an euphorbia. Maybe Euphorbia mauritanica
There are a few "pencil" ones.
It reminded me of Euphorbia bracteata too.