3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myclass{ public static $i = 0; public function one($called_from = null){ $this->three($called_from); self::$i += 1; echo self::$i; } public function two(){ return one(__FUNCTION__); } public function three($called_from){ if ( $called_from != 'two'){ return $this->two(); } } }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0120.00618.11
8.3.60.0090.00616.63
8.3.50.0120.00917.40
8.3.40.0120.00318.41
8.3.30.0040.01418.60
8.3.20.0040.00420.20
8.3.10.0040.00421.89
8.3.00.0030.00619.41
8.2.190.0040.01116.58
8.2.180.0150.00416.32
8.2.170.0040.01122.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00821.07
8.2.120.0080.00026.35
8.2.110.0030.00619.45
8.2.100.0090.00317.97
8.2.90.0060.00319.16
8.2.80.0000.00917.97
8.2.70.0090.00017.36
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0040.00420.64
8.2.30.0000.00720.90
8.2.20.0040.00417.96
8.2.10.0000.00717.84
8.2.00.0000.00717.91
8.1.280.0180.00025.92
8.1.270.0050.00322.05
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.96
8.1.230.0050.00519.10
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.22
8.1.190.0000.00817.11
8.1.180.0050.00218.10
8.1.170.0000.00818.34
8.1.160.0040.00418.86
8.1.150.0080.00020.52
8.1.140.0050.00219.51
8.1.130.0000.00718.76
8.1.120.0000.00717.17
8.1.110.0020.00517.30
8.1.100.0060.00317.36
8.1.90.0060.00317.34
8.1.80.0070.00017.30
8.1.70.0030.00317.26
8.1.60.0000.00817.46
8.1.50.0000.00717.32
8.1.40.0040.00417.28
8.1.30.0000.00817.60
8.1.20.0040.00417.54
8.1.10.0040.00417.31
8.1.00.0050.00217.33
8.0.300.0000.00818.77
8.0.290.0040.00416.58
8.0.280.0030.00318.31
8.0.270.0070.00017.19
8.0.260.0060.00016.60
8.0.250.0000.00716.80
8.0.240.0000.00916.88
8.0.230.0030.00616.82
8.0.220.0030.00316.82
8.0.210.0000.00716.72
8.0.200.0030.00316.83
8.0.190.0040.00416.88
8.0.180.0030.00316.78
8.0.170.0040.00316.76
8.0.160.0070.00416.70
8.0.150.0030.00516.73
8.0.140.0000.00716.62
8.0.130.0030.00313.18
8.0.120.0040.00416.73
8.0.110.0000.00716.65
8.0.100.0000.00716.80
8.0.90.0040.00316.62
8.0.80.0060.00916.76
8.0.70.0040.00416.64
8.0.60.0090.00016.78
8.0.50.0000.00716.76
8.0.30.0110.00616.83
8.0.20.0090.01117.40
8.0.10.0050.00316.89
8.0.00.0120.00616.52
7.4.330.0000.00515.55
7.4.320.0060.00016.29
7.4.300.0070.00016.24
7.4.290.0030.00616.49
7.4.280.0080.00016.27
7.4.270.0070.00016.30
7.4.260.0030.00313.16
7.4.250.0040.00416.23
7.4.240.0070.00016.27
7.4.230.0030.00316.45
7.4.220.0120.00916.23
7.4.210.0060.00816.54
7.4.200.0000.00716.21
7.4.160.0050.01116.35
7.4.150.0030.01417.40
7.4.140.0060.01417.86
7.4.130.0090.01216.18
7.4.120.0110.00916.32
7.4.110.0040.01516.38
7.4.100.0190.00016.31
7.4.90.0050.01116.43
7.4.80.0070.01519.39
7.4.70.0100.00716.29
7.4.60.0040.01216.32
7.4.50.0070.01116.19
7.4.40.0110.00916.03
7.4.30.0060.01016.35
7.4.00.0110.00714.86
7.3.330.0000.00812.96
7.3.320.0060.00013.11
7.3.310.0000.00716.04
7.3.300.0000.00616.19
7.3.290.0030.00316.09
7.3.280.0100.00816.17
7.3.270.0070.01017.40
7.3.260.0050.01216.14
7.3.250.0100.00816.29
7.3.240.0100.00716.43
7.3.230.0090.00916.18
7.3.210.0150.00316.34
7.3.200.0050.01916.29
7.3.190.0160.00416.43
7.3.180.0140.00716.52
7.3.170.0070.01016.18
7.3.160.0100.00616.31
7.3.120.0090.00914.89
7.3.110.0040.01414.73
7.3.100.0100.00714.72
7.3.90.0070.00414.68
7.3.80.0100.00614.32
7.3.70.0040.00814.50
7.3.60.0060.00914.75
7.3.50.0030.01214.81
7.3.40.0060.00914.53
7.3.30.0060.00614.78
7.3.20.0030.00916.61
7.3.10.0000.01216.45
7.3.00.0070.01016.63
7.2.330.0100.01316.52
7.2.320.0030.01516.57
7.2.310.0080.00816.32
7.2.300.0060.01216.35
7.2.290.0080.00816.49
7.2.250.0130.00314.83
7.2.240.0000.02114.82
7.2.230.0080.00515.00
7.2.220.0000.01315.07
7.2.210.0060.00914.49
7.2.200.0070.00714.75
7.2.190.0090.00314.69
7.2.180.0090.00614.99
7.2.170.0060.01014.70
7.2.60.0250.01216.36
7.2.00.0000.01118.86
7.1.330.0070.00715.56
7.1.320.0100.00315.38
7.1.310.0060.00915.27
7.1.300.0000.01215.35
7.1.290.0130.00015.68
7.1.280.0000.00815.47
7.1.270.0080.00415.35
7.1.260.0070.00715.54
7.1.200.0160.01315.06
7.1.100.0080.00417.83
7.1.70.0100.00316.91
7.1.60.0180.01635.14
7.1.50.0170.01434.67
7.1.40.0240.01734.37
7.1.30.0200.02034.32
7.1.20.0260.01934.52
7.1.10.0040.01116.45
7.1.00.0060.00916.60
7.0.200.0000.01516.70
7.0.190.0000.01416.71
7.0.180.0030.01416.21
7.0.170.0040.01216.13
7.0.160.0060.00916.17
7.0.150.0070.00716.08
7.0.140.0090.00916.09
7.0.130.0110.00416.36
7.0.120.0060.00916.38
7.0.110.0030.01016.24
7.0.100.0070.00716.23
7.0.90.0030.01216.12
7.0.80.0040.01116.23
7.0.70.0060.00916.04
7.0.60.0030.01116.11
7.0.50.0030.01616.21
7.0.40.0060.00616.50
7.0.30.0030.01016.52
7.0.20.0040.01116.21
7.0.10.0030.01016.20
7.0.00.0030.01016.34

preferences:
72.95 ms | 401 KiB | 5 Q