Passing a number via page arguments in hook_menu() I am generating the return value for a hook_menu() with values from a query.

 $items[$record-&gt;path_prefix . '/my_path/%'] = array(
     'title' =&gt; 'Topic Redirect',
     'page callback' =&gt; 'my_callback',
     'page arguments' =&gt; array($record-&gt;id,2),
     'access callback' =&gt; TRUE,
     'type' =&gt; MENU_CALLBACK
   );


This will automatically pass the argument that is the record id to the callback function. I would like it to pass the value. Is there an easy way to do this?
I normally just wrap the value in quotes, that should convince the router system to leave it alone:

'page arguments' =&gt; array("$record-&gt;id", 2)