View difference between Paste ID: scbRGSva and JFAfBZP3
SHOW: | | - or go back to the newest paste.
1
<?php
2
3-
class myClass { 
3+
class myClass {
4
	function doSomething() {
5-
	function doSomething() { 
5+
6
	}
7-
	} 
7+
}
8
9-
}  
9+
$newObject = new myClass();
10
echo $newObject->doSomething();