Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions trick-2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

/* Insert Magic Code Here */

// NO CHANGES ALLOWED BELOW
$аrray = [0,0,0]; $arraу = [3,3,3];

var_dump(count($array), array_sum($array));
// NO CHANGES ALLOWED BELOW

var_dump(count($аrray), array_sum($аrray));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This violates the no changes allow below statement.

But cool idea to substitute a glyph with another very similar glyph.

$array[0] = 1;
$array[1] = 2;
$array[2] = 3;

var_dump(count($array), array_sum($array));
var_dump(count($arraу), array_sum($arraу));

/*
* Magic output:
Expand Down