The C# Console Application is just a wrapper around invoking the PHP command line interpreter. I could also show the examples as a simple PHP web page - which is likely how most people will utilize these samples - but the actual PHP code doesn't need to change for this.
Added a set of PHP examples for invoking OData endpoints - with OAuth code largely provided from this repo: https://github.com/Azure-Samples/active-directory-php-graphapi-web/tree/master/PHP.
The C# Console Application is just a wrapper around invoking the PHP command line interpreter. I could also show the examples as a simple PHP web page - which is likely how most people will utilize these samples - but the actual PHP code doesn't need to change for this.