OutPut: 1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 15 20 25 Code: <?php // Your code here! for($i=1;$i<=5;$i++){ echo $i;// $i as row for($j=1;$j<5;$j++){ //…
OutPut: 1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 15 20 25 Code: <?php // Your code here! for($i=1;$i<=5;$i++){ echo $i;// $i as row for($j=1;$j<5;$j++){ //…
Adding anonymous function and call the public variable in an anonymous function by using magic function called __invoke(); <?php // Your code here! class model { public $greet; public $a =”hello”; function __construct() { $this->greet = function(){ echo $this->a;…
I found this post use-full as it groups the n number . Find pair of n numbers in php
Hello Friends Recently i was working in project ,where i got code in zip file and was unable to unzip as it failed with error 2 ,so i got solution from google search i tried several method in which below…
This command reset local changes and remove the files in local changes and pulls the latest code from git.Please add branch name in pull command. Command: git reset –hard git clean -fxd git pull origin /* your Branch */
You must be logged in to post a comment.