Skip to content

Instantly share code, notes, and snippets.

@adapicom
Created June 14, 2013 22:38
Show Gist options
  • Save adapicom/5785831 to your computer and use it in GitHub Desktop.
Save adapicom/5785831 to your computer and use it in GitHub Desktop.
Simple A/B Test with PHP
<?php if (rand(1, 100) > 50) { ?>
<?php } else { ?>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment