php2py icon indicating copy to clipboard operation
php2py copied to clipboard

translating "0" on each ";"

Open josead opened this issue 5 years ago • 0 comments

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

josead avatar Apr 17 '19 22:04 josead