• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

PHP how to detect if running on arm64 cpu?

phparm64


PHP Snippet 1:

// have been in a situation where MacOS-php says 
// "arm64" while php-in-docker-linux-container-running-on-macos
// says "aarch64"...
$isArm64 = (false!==stripos(php_uname("m"), "aarch64") || false!== stripos(php_uname("m"),"arm64"));

Related Snippets

How can I pass the list to the component variable in Laravel?

How to get the survey List from surveygizmo API in the Postman?(Trial Version)

How to edit Records using CodeIgniter

Apply session id from request header

IlluminateDatabaseQueryException could not find driver [duplicate]

Can't exclude directories from .htaccess mobile redirect?

Shortcode or PHP inside a shortcode in Wordpress

Select option menu read from database and use it's values

sqlsrv_num_rows() expects parameter 1 to be resource, boolean given

Adding the custom page with add_menu_page function on Wordpress

WordPress - Dynamically add user ID to the end of a URL

Encrypt in php and decrypt in Dart(flutter)

php file upload scanning using clamav, permissions on /tmp/

Malformed MIME header error in Symfony 5.3

How to get result of the formula on import xlsx with maatwebsite using Laravel? I get formula and not value of the formula

About Contact Privacy policy Terms and conditions