Correct the type of shared memory identifiers

This commit is contained in:
Craig Duncan 2018-08-22 21:17:17 +01:00
parent 4352577586
commit a31860f98b
1 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@
* @param int $size <p>
* The size of the shared memory block you wish to create in bytes
* </p>
* @return int On success <b>shmop_open</b> will return an id that you can
* @return resource On success <b>shmop_open</b> will return an id that you can
* use to access the shared memory segment you've created. <b>FALSE</b> is
* returned on failure.
* @since 4.0.4
@ -33,7 +33,7 @@ function shmop_open ($key, $flags, $mode, $size) {}
/**
* Read data from shared memory block
* @link https://php.net/manual/en/function.shmop-read.php
* @param int $shmid <p>
* @param resource $shmid <p>
* The shared memory block identifier created by
* <b>shmop_open</b>
* </p>
@ -52,7 +52,7 @@ function shmop_read ($shmid, $start, $count) {}
/**
* Close shared memory block
* @link https://php.net/manual/en/function.shmop-close.php
* @param int $shmid <p>
* @param resource $shmid <p>
* The shared memory block identifier created by
* <b>shmop_open</b>
* </p>
@ -65,7 +65,7 @@ function shmop_close ($shmid) {}
/**
* Get size of shared memory block
* @link https://php.net/manual/en/function.shmop-size.php
* @param int $shmid <p>
* @param resource $shmid <p>
* The shared memory block identifier created by
* <b>shmop_open</b>
* </p>
@ -79,7 +79,7 @@ function shmop_size ($shmid) {}
/**
* Write data into shared memory block
* @link https://php.net/manual/en/function.shmop-write.php
* @param int $shmid <p>
* @param resource $shmid <p>
* The shared memory block identifier created by
* <b>shmop_open</b>
* </p>
@ -100,7 +100,7 @@ function shmop_write ($shmid, $data, $offset) {}
/**
* Delete shared memory block
* @link https://php.net/manual/en/function.shmop-delete.php
* @param int $shmid <p>
* @param resource $shmid <p>
* The shared memory block identifier created by
* <b>shmop_open</b>
* </p>