What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-09-28 07:43:02
php ?? vs ?:
<?php var_dump(null ?? '`null` is null'); // `null` is null var_dump(null ?: '`null` is empty'); // null var_dump(true ?? '`true` is null'); // true var_dump(true ?: '`true` is empty'); // true var_dump(false ?? '`false` is null'); // false var_dump(fa... Add solution -
Java 2021-09-24 09:07:02
api process flow
I HAVE FOUR DIFFERENT PROCESS TO IMPLEMENT 1. Checking API contract 2. Creating test cases 3. Executing test cases 4. Implementing different test flows 1. Checking API Contract An API is essentially a contract between the client and the server or betwee... Add solution -
C# 2021-09-21 10:31:01
how to read and write a cookie asp.net
/// <summary> /// Stores multiple values in a Cookie using a key-value dictionary, creating the cookie (and/or the key) if it doesn't exists yet. /// </summary> /// <param name="cookieName">Cookie name</param> /// <par... Add solution -
Other 2021-09-19 21:00:02
construct binary tree from array
When implementing a binary tree as an array it helps to have a clear visualization of how the two representations mirror one another, and review the mathematical structure that underlines the relationship. If we consider 0-indexed arrays the mathematical... Add solution