3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace chaining; class chain { static public function working() {echo "working";} static public function one() {return get_called_class();} static public function two() {return get_called_class();} } ${${${${${chain::one()} = chain::two()}::one()}::two()}::one()}::working();

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.4.140.0110.01117.49
8.4.130.0060.00417.97
8.4.120.0110.00920.63
8.4.110.0110.01320.54
8.4.100.0110.00917.82
8.4.90.0130.00317.67
8.4.80.0050.00317.75
8.4.70.0110.01117.86
8.4.60.0130.00818.76
8.4.50.0090.00517.76
8.4.40.0060.01323.95
8.4.30.0060.00320.55
8.4.20.0070.01520.50
8.4.10.0090.00023.88
8.3.270.0100.00916.56
8.3.260.0110.01016.62
8.3.250.0110.00818.84
8.3.240.0120.00716.69
8.3.230.0100.01016.88
8.3.220.0100.00617.20
8.3.210.0130.00616.73
8.3.200.0050.00416.75
8.3.190.0110.00917.13
8.3.180.0060.00316.53
8.3.170.0080.01118.86
8.3.160.0110.00319.21
8.3.150.0050.00517.17
8.3.140.0050.00319.14
8.3.130.0040.00418.34
8.3.120.0050.00520.47
8.3.110.0160.00320.94
8.3.100.0080.00016.44
8.3.90.0050.00326.77
8.3.80.0060.00317.97
8.3.70.0110.00416.59
8.3.60.0110.00418.30
8.3.50.0090.00916.55
8.3.40.0140.00021.89
8.3.30.0120.00418.67
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0100.00922.29
8.2.280.0060.00319.99
8.2.270.0070.01116.75
8.2.260.0110.00719.95
8.2.250.0120.00318.29
8.2.240.0030.00617.18
8.2.230.0000.00922.58
8.2.220.0030.01324.06
8.2.210.0120.00026.77
8.2.200.0080.00318.54
8.2.190.0120.00316.63
8.2.180.0150.00016.50
8.2.170.0210.00018.79
8.2.160.0100.00322.96
8.2.150.0080.00025.66
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00721.18
8.2.110.0100.00020.98
8.2.100.0040.00717.91
8.2.90.0040.00419.95
8.2.80.0000.00820.39
8.2.70.0090.00017.63
8.2.60.0030.00617.63
8.2.50.0040.00417.63
8.2.40.0080.00417.62
8.2.30.0110.01217.50
8.2.20.0120.00617.50
8.2.10.0080.00817.50
8.2.00.0110.00517.50
8.1.330.0130.00518.32
8.1.320.0110.00818.21
8.1.310.0040.00418.40
8.1.300.0110.00718.51
8.1.290.0060.00330.84
8.1.280.0170.00325.92
8.1.270.0060.00324.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.01422.05
8.1.230.0070.00420.92
8.1.220.0040.00417.79
8.1.210.0080.00018.92
8.1.200.0030.00617.22
8.1.190.0000.01117.35
8.1.180.0040.00418.10
8.1.170.0030.00517.62
8.1.160.0040.00417.50
8.1.150.0130.00317.50
8.1.140.0120.00417.50
8.1.130.0100.00617.50
8.1.120.0050.01117.50
8.1.110.0070.01017.50
8.1.100.0160.00017.50
8.1.90.0130.00317.50
8.1.80.0120.00617.50
8.1.70.0150.00017.50
8.1.60.0090.00917.50
8.1.50.0180.00317.50
8.1.40.0150.00517.50
8.1.30.0060.01217.50
8.1.20.0180.00017.50
8.1.10.0180.00017.50
8.1.00.0120.00617.50
8.0.300.0040.00420.16
8.0.290.0040.00416.63
8.0.280.0140.00317.50
8.0.270.0110.00617.50
8.0.260.0170.00017.50
8.0.250.0080.00817.50
8.0.240.0070.00917.50
8.0.230.0050.01117.50
8.0.220.0120.00417.50
8.0.210.0140.00317.50
8.0.200.0120.00417.50
8.0.190.0180.00017.50
8.0.180.0140.00217.50
8.0.170.0080.00817.50
8.0.160.0160.00017.50
8.0.150.0130.00317.50
8.0.140.0060.01017.50
8.0.130.0130.00317.50
8.0.120.0110.00517.50
8.0.110.0170.00017.50
8.0.100.0110.00717.50
8.0.90.0160.00017.50
8.0.80.0140.00517.50
8.0.70.0120.00417.50
8.0.60.0120.00617.50
8.0.50.0140.00617.50
8.0.30.0170.00017.50
8.0.20.0150.00017.50
8.0.10.0100.00717.50
4.3.00.0030.00017.62

preferences:
83.62 ms | 403 KiB | 5 Q