A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 132

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 290

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 164

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 233

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 313

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_files_driver.php

Line Number: 354

News Swiftly

Can you solve it? The enigma of Randall Munroe

Today?s first puzzle was penned by Randall Munroe, cartoonist of the webcomic xkcd and author of the bestselling book What If?

For the (surely) very few readers who have never heard of him, Munroe, a former NASA roboticist, is probably the world?s premier science humorist.

Today?s challenge, a riff on his classic cartoon about self-reference, is both a puzzle and a meta-joke.

1. All Together Now

Find all the possible ways, if any exist, to fill in the three blanks to make all three statements true.

View image in fullscreen (Product means multiplication, and minimum means the smaller one.)

Today?s second puzzle is an elegant take on the Venn diagram. It was written by RGee Watkins, a maker of wooden block puzzles.

2. One to Venn

The four squares below form a Venn diagram with ten regions, labelled A to J. The letters A to J each stand for a number between 1 and 10, such that no two regions share the same number and all numbers from 1 to 10 are used. The regions in each square add up to the same number. What value is D, the intersection of all four squares?

View image in fullscreen The sums of the regions in each square are equal, so A + B + C + D + E (red square) = C + D + F + G + H (yellow square) = green square = blue square

I?ll be back at 5pm UK with the solutions. Please NO SPOILERS! Instead talk about your favourite Munroes, Munros and Monroes.

Both of today?s puzzles are taken from The Mathematical Playground: People and Problems from 31 Years of Math Horizons. Math Horizons is the undergraduate magazine of the Mathematical Association of America, and the book, a compilation of its best puzzles, is full of great material. For more information see here.

What If? (10th anniversary edition) by Randall Munroe will be out in the UK on November 14.

My latest book is Think Twice: Solve the Simple Puzzles (Almost) Everyone Gets Wrong. (In the US it is called Puzzle Me Twice, and out tomorrow.) To support the Guardian and Observer, order your copy at guardianbookshop.com. Delivery charges may apply.

I?ve been setting a puzzle here on alternate Mondays since 2015. I?m always on the look-out for great puzzles. If you would like to suggest one, email me.