'Hello world' is not suitable example program for openstack.
Yes ofcourse you can setup your php dev environment in an instance and can develop programs in it. In this example you are just consuming openstack as an end user.
The real power of openstack can be recognised in this example:
You can design an application (eg: DB as a Service). In this applciation , the user just clicks a 'Request DB Instance' button and then he will be provided a 'ipaddress','port number' and credentials for his connection string. So that he can connect his application to the generated database.
In the background you can use python apis call for creating a new vm , install the os and install the required softwares (Database service) all these will be done by openstack automatically.
This is a simple example application (PAAS) which runs above Openstack.