3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Client { public $name; } class Screen { public $client; } $screen = new Screen(); $client = new Client(); $screen->client = $client; $client->name = 'Parikshit'; echo $screen->client->name;

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.0150.00618.28
8.3.50.0120.00316.11
8.3.40.0070.00718.71
8.3.30.0040.01118.84
8.3.20.0070.00020.25
8.3.10.0000.00823.74
8.3.00.0040.00419.32
8.2.180.0140.00716.35
8.2.170.0070.01122.96
8.2.160.0040.01118.74
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00421.00
8.2.120.0040.00426.35
8.2.110.0060.00922.21
8.2.100.0090.00317.78
8.2.90.0060.00319.23
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0000.00818.03
8.2.50.0030.00618.10
8.2.40.0030.00520.57
8.2.30.0050.00319.30
8.2.20.0000.00718.12
8.2.10.0000.00717.87
8.2.00.0070.00018.15
8.1.280.0110.00425.92
8.1.270.0070.00022.01
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00023.86
8.1.230.0070.00419.02
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.36
8.1.190.0080.00017.22
8.1.180.0000.00818.10
8.1.170.0040.00418.59
8.1.160.0030.00318.96
8.1.150.0040.00420.67
8.1.140.0070.00419.61
8.1.130.0000.00718.68
8.1.120.0040.00417.36
8.1.110.0040.00417.37
8.1.100.0030.00617.43
8.1.90.0040.00417.39
8.1.80.0040.00417.42
8.1.70.0000.00717.40
8.1.60.0000.00817.48
8.1.50.0030.00617.50
8.1.40.0030.00717.48
8.1.30.0060.00317.47
8.1.20.0040.00417.57
8.1.10.0000.00817.53
8.1.00.0040.00417.36
8.0.300.0070.00018.77
8.0.290.0060.00316.63
8.0.280.0080.00018.35
8.0.270.0030.00317.17
8.0.260.0060.00016.78
8.0.250.0000.00716.86
8.0.240.0110.00016.96
8.0.230.0000.00716.87
8.0.220.0000.00716.88
8.0.210.0030.00316.82
8.0.200.0030.00316.89
8.0.190.0040.00416.75
8.0.180.0000.00816.89
8.0.170.0030.00616.85
8.0.160.0030.00316.86
8.0.150.0040.00416.73
8.0.140.0050.00216.79
8.0.130.0000.00813.30
8.0.120.0050.00316.71
8.0.110.0030.00316.77
8.0.100.0000.00816.71
8.0.90.0050.00216.71
8.0.80.0130.01016.80
8.0.70.0040.00416.64
8.0.60.0050.00216.63
8.0.50.0040.00416.83
8.0.30.0120.00617.16
8.0.20.0130.00817.40
8.0.10.0070.00017.00
8.0.00.0070.01016.84
7.4.330.0000.00515.55
7.4.320.0060.00016.64
7.4.300.0060.00016.59
7.4.290.0030.00616.54
7.4.280.0030.00616.50
7.4.270.0000.00716.50
7.4.260.0060.00316.62
7.4.250.0040.00416.43
7.4.240.0000.00816.59
7.4.230.0050.00316.47
7.4.220.0140.00416.67
7.4.210.0040.01116.45
7.4.200.0070.00016.60
7.4.160.0110.00816.64
7.4.150.0120.00617.40
7.4.140.0100.00917.86
7.4.130.0040.01516.51
7.4.120.0100.00916.56
7.4.110.0000.01616.58
7.4.100.0090.00916.34
7.4.90.0100.00816.42
7.4.80.0130.00319.39
7.4.70.0060.01116.33
7.4.60.0090.00616.41
7.4.50.0150.00416.50
7.4.40.0100.00616.44
7.4.30.0060.00916.39
7.4.00.0080.00815.00
7.3.330.0030.00313.38
7.3.320.0030.00313.30
7.3.310.0070.00016.40
7.3.300.0000.00616.17
7.3.290.0080.00516.30
7.3.280.0080.00816.29
7.3.270.0370.02817.40
7.3.260.0100.01016.33
7.3.250.0080.00916.38
7.3.240.0070.01216.42
7.3.230.0100.01316.53
7.3.210.0100.00716.38
7.3.200.0060.00916.49
7.3.190.0000.01616.55
7.3.180.0090.00616.33
7.3.170.0100.00716.56
7.3.160.0180.00316.36
7.2.330.0090.00616.84
7.2.320.0120.00616.85
7.2.310.0110.01216.86
7.2.300.0030.01316.68
7.2.290.0040.01316.51
7.2.60.0090.00316.96
7.2.00.0000.00919.14
7.1.100.0090.00617.83
7.1.70.0620.01615.31
7.1.60.0830.01633.21
7.1.50.0560.02033.13
7.1.40.0280.01234.26
7.1.30.0240.00934.45
7.1.20.0220.01234.40
7.1.10.0130.01016.50
7.1.00.0000.01616.49
7.0.200.0700.01014.81
7.0.190.0100.01014.53
7.0.180.0120.00916.13
7.0.170.0060.01416.28
7.0.160.0060.01316.25
7.0.150.0930.00916.36
7.0.140.0090.01216.20
7.0.130.0670.01416.43
7.0.120.0090.01416.51
7.0.110.0050.01316.32
7.0.100.0070.01216.18
7.0.90.0060.01016.15
7.0.80.0030.01516.54
7.0.70.0030.01616.26
7.0.60.0070.01316.14
7.0.50.0780.01314.76
7.0.40.0090.00616.24
7.0.30.0130.00616.48
7.0.20.0060.01216.36
7.0.10.0720.01316.38
7.0.00.0140.00816.38

preferences:
54.91 ms | 400 KiB | 5 Q