3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * ZCE material * @category global keyword $GLOBALS * @author me@vuongnguyen.net * @content : ...token, * @copyright 2018 Vuong */ namespace vidu; class helloworld{ public function __construct(){ echo strpos(str_replace("\\", "/", __CLASS__), "/"); } } $a = new helloworld;

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.60.0040.01818.27
8.3.50.0060.00818.25
8.3.40.0130.00618.59
8.3.30.0090.00618.61
8.3.20.0040.00421.73
8.3.10.0030.00623.56
8.3.00.0080.00023.54
8.2.180.0110.00418.29
8.2.170.0040.01122.96
8.2.160.0090.00620.19
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0100.00021.03
8.2.100.0040.00718.03
8.2.90.0080.00018.00
8.2.80.0040.00418.22
8.2.70.0000.00817.92
8.2.60.0080.00018.04
8.2.50.0030.00618.22
8.2.40.0040.00418.98
8.2.30.0050.00220.94
8.2.20.0000.00718.07
8.2.10.0040.00418.00
8.2.00.0000.00719.05
8.1.280.0060.00825.92
8.1.270.0080.00023.79
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00624.03
8.1.230.0110.00020.84
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00517.23
8.1.190.0000.00816.88
8.1.180.0060.00318.10
8.1.170.0060.00318.66
8.1.160.0050.00318.82
8.1.150.0000.00718.97
8.1.140.0070.00017.64
8.1.130.0000.00618.96
8.1.120.0080.00317.29
8.1.110.0000.00817.28
8.1.100.0030.00517.43
8.1.90.0040.00417.28
8.1.80.0080.00017.40
8.1.70.0070.00017.36
8.1.60.0030.00617.63
8.1.50.0030.00617.43
8.1.40.0080.00017.40
8.1.30.0000.00817.66
8.1.20.0040.00417.57
8.1.10.0040.00417.61
8.1.00.0050.00217.52
8.0.300.0070.00020.01
8.0.290.0030.00516.75
8.0.280.0040.00418.40
8.0.270.0000.00717.25
8.0.260.0040.00417.27
8.0.250.0000.00816.91
8.0.240.0000.00716.84
8.0.230.0040.00716.61
8.0.220.0070.00016.87
8.0.210.0030.00316.80
8.0.200.0040.00416.86
8.0.190.0040.00416.93
8.0.180.0000.00716.79
8.0.170.0060.00316.88
8.0.160.0030.00516.89
8.0.150.0000.00716.78
8.0.140.0030.00316.68
8.0.130.0000.00513.24
8.0.120.0000.00716.70
8.0.110.0080.00016.76
8.0.100.0000.00716.85
8.0.90.0000.00716.70
8.0.80.0070.01416.74
8.0.70.0000.00716.82
8.0.60.0020.00516.64
8.0.50.0040.00416.89
8.0.30.0080.01117.25
8.0.20.0060.01317.40
8.0.10.0050.00317.00
8.0.00.0060.01416.58
7.4.330.0050.00016.80
7.4.320.0070.00016.54
7.4.300.0060.00016.57
7.4.290.0040.00416.59
7.4.280.0040.00416.59
7.4.270.0050.00216.47
7.4.260.0050.00416.61
7.4.250.0070.00016.53
7.4.240.0000.00716.60
7.4.230.0030.00316.60
7.4.220.0080.00016.50
7.4.210.0080.00916.63
7.4.200.0000.00716.71
7.4.160.0120.00516.43
7.4.140.0130.00817.86
7.4.130.0170.00016.38
7.4.120.0080.01016.48
7.4.110.0100.00716.29
7.4.100.0100.00716.40
7.4.90.0100.00616.53
7.4.80.0100.01319.39
7.4.70.0090.01216.59
7.4.60.0090.00616.52
7.4.50.0000.01816.69
7.4.40.0070.01016.71
7.4.00.0070.01015.20
7.3.330.0000.00613.25
7.3.320.0030.00313.09
7.3.310.0070.00016.26
7.3.300.0000.00616.21
7.3.290.0000.00616.15
7.3.280.0070.01116.18
7.3.260.0110.01116.31
7.3.240.0110.00516.31
7.3.230.0110.00716.22
7.3.210.0130.01016.23
7.3.200.0040.01116.19
7.3.190.0120.00316.26
7.3.180.0080.01216.10
7.3.170.0060.00916.33
7.3.160.0080.00816.35
7.3.120.0090.00614.87
7.3.110.0000.01514.75
7.3.100.0070.00714.71
7.3.90.0090.00614.63
7.3.80.0070.01014.63
7.3.70.0000.01414.77
7.3.60.0060.00914.59
7.3.50.0040.01114.50
7.3.40.0040.00814.69
7.3.30.0090.00614.81
7.3.20.0030.00616.63
7.3.10.0040.00916.39
7.3.00.0050.00916.47
7.2.330.0070.01016.56
7.2.320.0120.00616.46
7.2.310.0120.00816.47
7.2.300.0100.00716.63
7.2.290.0110.01116.52
7.2.240.0070.00714.71
7.2.230.0030.01214.98
7.2.220.0070.01014.91
7.2.210.0080.00815.03
7.2.200.0090.00314.71
7.2.190.0030.01014.91
7.2.180.0060.00615.06
7.2.170.0000.01715.23
7.2.160.0100.00314.95
7.2.150.0040.00816.87
7.2.140.0060.00716.78
7.2.130.0030.01116.88
7.2.120.0050.00816.72
7.2.110.0050.00916.67
7.2.100.0020.01316.89
7.2.90.0060.00817.00
7.2.80.0020.01117.01
7.2.70.0050.00816.79
7.2.60.0080.00516.88
7.2.50.0050.00516.79
7.2.40.0240.00817.12
7.2.30.0350.00717.17
7.2.20.0470.00917.20
7.2.10.0230.01017.12
7.2.00.0270.00717.13
7.1.330.0040.00715.88
7.1.320.0030.01015.44
7.1.310.0070.01015.41
7.1.300.0080.00815.57
7.1.290.0100.00315.59
7.1.280.0110.00415.56
7.1.270.0030.01215.48
7.1.260.0090.00615.82
7.1.250.0050.00915.63
7.1.240.0070.00715.67
7.1.230.0110.00015.64
7.1.220.0040.01215.60
7.1.210.0030.00715.29
7.1.200.0050.00515.67
7.1.190.0040.00815.43
7.1.180.0060.00615.82
7.1.170.0060.00915.76
7.1.160.0320.00716.09
7.1.150.0560.01016.04
7.1.140.0380.00516.27
7.1.130.0520.00616.22
7.1.120.0480.00815.84
7.1.110.0560.00615.76
7.1.100.0480.00715.54
7.1.90.0670.00715.66
7.1.80.0420.00415.77
7.1.70.0510.01115.47
7.1.60.0590.01024.20
7.1.50.0620.00924.34
7.1.40.0480.00824.01
7.1.30.0450.01024.00
7.1.20.0600.01324.17
7.1.10.0710.00815.08
7.1.00.0850.00715.09
7.0.330.0070.00415.04
5.6.380.0070.00714.19

preferences:
28.43 ms | 400 KiB | 5 Q