private function getPlatformKey()
    {
        $platform = PHP_OS;

        if (0 === stripos($platform, 'WIN')) {
            return PHP_INT_SIZE === 8 ? 'win64' : 'win32';
        }
        if (0 === stripos($platform, 'LINUX')) {
            return PHP_INT_SIZE === 8 ? 'linux_x64' : 'linux_x32';
        }
        if (0 === stripos($platform, 'DARWIN')) {
            return 'darwin';
        }

        return 'fallback';
    }
private function getPlatformKey()
    {
        $platform = PHP_OS;

        if (0 === stripos($platform, 'WIN')) {
            return PHP_INT_SIZE === 8 ? 'win64' : 'win32';
        }
        if (0 === stripos($platform, 'LINUX')) {
            return PHP_INT_SIZE === 8 ? 'linux_x64' : 'linux_x32';
        }
        if (0 === stripos($platform, 'DARWIN')) {
            return 'darwin';
        }

        return 'fallback';
    }
private function getPlatformKey ( ) { $ platform = PHP_OS ; if ( 0 === stripos ( $ platform , 'WIN' ) ) { return PHP_INT_SIZE === 8 ? 'win64' : 'win32' ; } if ( 0 === stripos ( $ platform , 'LINUX' ) ) { return PHP_INT_SIZE === 8 ? 'linux_x64' : 'linux_x32' ; } if ( 0 === stripos ( $ platform , 'DARWIN' ) ) { return 'darwin' ; } return 'fallback' ; }
Returns the platform key to take the node binary configuration from.

A little caveat here: This will not give you the actual architecture of the machine, but rather if PHP is running
in 32 or 64-bit mode. Unfortunately there is no way figuring this out without invoking external system processes.

@codeCoverageIgnore The outcome and coverage of this method solely depends on which platform PHP is running on.
@return string
Returns the platform key to take the node binary configuration from .