Skip to content

Instantly share code, notes, and snippets.

@datashaman
Created April 28, 2019 19:24
Show Gist options
  • Save datashaman/4c499ddd81524230f9f57b6c197713a4 to your computer and use it in GitHub Desktop.
Save datashaman/4c499ddd81524230f9f57b6c197713a4 to your computer and use it in GitHub Desktop.
Datashaman\PHPCheck\floats Example
<?php
<<<CONFIG
packages:
- "datashaman/phpcheck: dev-wip"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\PHPCheck\floats;
use function Datashaman\PHPCheck\generate;
var_dump(generate(floats(-1000, 1000)));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment