-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
code tested:
<?php
class Foo {
public $aMemberVar = 'aMemberVar Member Variable';
public $aFuncName = 'aMemberFunc';
function aMemberFunc() {
print 'Inside `aMemberFunc()`';
}
}
$foo = new Foo;
?>
translated
#!/usr/bin/python
#-*- coding: utf-8 -*-
print("\n")
class Foo:
aMemberVar="aMemberVar Member Variable"0
aFuncName="aMemberFunc"0
def aMemberFunc():
print("Inside `aMemberFunc()`")
foo = Foo()
print(" \n")
Regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels