PHP code example of calcinai / php-mmap

1. Go to this page and download the library: Download calcinai/php-mmap library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

calcinai / php-mmap example snippets


    $mmap = fopen('mmap:///dev/mem:1024?offset=0', 'rw');

    $mmap = mmap_open('/dev/mem', 1024, 0);
json
  "lcinai/php-mmap": "^0.1"
  }