Php parameter passing

this did not work:

$auth0 = new Auth0(     [       'domain'                => constant('Auth0_domain')
                        ,       'client_id'             => constant('Auth0_client_id')
                        ,       'client_secret'         => constant('Auth0_client_secret')
                        ,       'redirect_uri'          => constant('redirectUrl')      //.   '?one=twooo'
                        ,       'scope'                 => 'openid profile email name nickname picture'
                        ,       'state'                 => [ 'oneee'  =>  'twooooooo' ]
                        ]
                );

and i am not sure how to create a nonce using php.

i would like to pay somebody to put a working PHP example together for me of parameter passing, and then have auth0 include the example in their documentation.

parameter passing would be very useful.