im assuming the op is referring to ios device unique identifiers, though i havent a clue as to what the php only restriction is.
@keitzer, apple will reject applications that reference the string value uniqueIdentifier from UIDevice, which was deprecated in the ios 6.1 sdk, and completely unavailable in ios 7 sdks. also now considering that applications from here on must be built with ios 7, so this has become irrelevant.
the uniqueIdentifier was considered a privacy violation (or the like), as it was the device's actual UDID, and was promptly replaced with the NSUUID class, more specifically the identifierForVendor property of UIDevice.
the identifierForVendor is superior to, and much safer to use, than uniqueIdentifier, while being as simple to use.
as suggested in its name, an identifier is produced for the currentDevice. this identifier will be different per application per device. however it will always be the same on the same device with the same vendor. the vendor is, of course, the top level part of the bundle identifier (com.mycompany.myapp part).
there is also the option to create your own identifier by spawning a new instance of NSUUID. the result must be saved somewhere if you would like to refer to it again.
@frankenly, apologies, im not sure what exactly you mean by "script show UDID with php only", but hoping youre looking for an ios device unique id.