• 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 to unlink image from folder?

Laravel with App Engine Standard Class 'FacadeIgnitionIgnitionServiceProvider' not found

woocommerce get_order_report_data to show order_item_id

str_replace or preg_replace random number from string

Composer Script echo

How to add automatically collapse/expand in content wordpress (single.php)?

How can I make good efficent AJAX live forms with just jQuery and

Laravel 5: Is there a non-case sensitive way to sort a collection by an attribute?

Create a new line whenever an array value reaches more than 10 characters

generate an Excel file using PHP

html-php form submission after validation through JavaScript [closed]

Fetch files from next cloud storage and display in Laravel website

api response laravel doesn't show

PHP Startup Unable to load dynamic library /usr/lib/php/20151012/php_mysqli.dll

How to disable only_full_group_by option in Laravel

About Contact Privacy policy Terms and conditions