WordPress at a glance
function is not described

MO::get_byteorder() public WP 1.0

{} It's a method of the class: MO{}

No Hooks.

Return

String|false. Null. Nothing.

Usage

$MO = new MO();
$MO->get_byteorder( $magic );
$magic(int) (required)
-

Code of MO::get_byteorder() WP 5.7.1

<?php
function get_byteorder( $magic ) {
	// The magic is 0x950412de.

	// bug in PHP 5.0.2, see https://savannah.nongnu.org/bugs/?func=detailitem&item_id=10565
	$magic_little    = (int) - 1794895138;
	$magic_little_64 = (int) 2500072158;
	// 0xde120495
	$magic_big = ( (int) - 569244523 ) & 0xFFFFFFFF;
	if ( $magic_little == $magic || $magic_little_64 == $magic ) {
		return 'little';
	} elseif ( $magic_big == $magic ) {
		return 'big';
	} else {
		return false;
	}
}