3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Pony { public $tail; } $fluttershy = new Pony(); $fluttershy->tail = new Pony(); $fluttershy->tail->tail = new Pony(); echo json_encode($fluttershy);

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.0100.00716.75
8.3.50.0140.00316.52
8.3.40.0110.00718.84
8.3.30.0110.00418.54
8.3.20.0040.00420.34
8.3.10.0040.00421.86
8.3.00.0040.00420.77
8.2.180.0110.00418.39
8.2.170.0170.00322.96
8.2.160.0130.00022.22
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00322.21
8.2.120.0050.00326.35
8.2.110.0100.00021.10
8.2.100.0040.00817.59
8.2.90.0000.00720.42
8.2.80.0000.00918.03
8.2.70.0040.00417.38
8.2.60.0030.00617.92
8.2.50.0030.00618.07
8.2.40.0080.00019.88
8.2.30.0000.00718.09
8.2.20.0040.00418.07
8.2.10.0050.00317.99
8.2.00.0040.00418.05
8.1.280.0070.01725.92
8.1.270.0030.00523.96
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0080.00420.65
8.1.230.0070.00320.97
8.1.220.0040.00417.74
8.1.210.0050.00318.81
8.1.200.0030.00617.23
8.1.190.0040.00717.10
8.1.180.0040.00418.10
8.1.170.0040.00418.97
8.1.160.0040.00418.87
8.1.150.0050.00320.66
8.1.140.0040.00419.62
8.1.130.0070.00018.79
8.1.120.0070.00017.33
8.1.110.0050.00217.44
8.1.100.0000.00717.32
8.1.90.0040.00317.40
8.1.80.0030.00517.41
8.1.70.0000.00717.33
8.1.60.0000.00817.51
8.1.50.0040.00417.44
8.1.40.0040.00417.36
8.1.30.0000.00717.59
8.1.20.0000.00817.57
8.1.10.0000.00717.58
8.1.00.0040.00417.52
8.0.300.0060.00319.91
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0000.00717.30
8.0.260.0000.00716.81
8.0.250.0070.00016.93
8.0.240.0040.00416.77
8.0.230.0030.00516.90
8.0.220.0020.00516.86
8.0.210.0030.00316.75
8.0.200.0070.00016.88
8.0.190.0060.00316.82
8.0.180.0000.00716.83
8.0.170.0040.00416.93
8.0.160.0020.00516.70
8.0.150.0000.00716.84
8.0.140.0090.00316.70
8.0.130.0040.00413.22
8.0.120.0000.00716.82
8.0.110.0050.00216.74
8.0.100.0000.00816.78
8.0.90.0030.00516.86
8.0.80.0060.01316.78
8.0.70.0040.00416.89
8.0.60.0000.00716.88
8.0.50.0030.00516.81
8.0.30.0070.01017.04
8.0.20.0110.00717.40
8.0.10.0000.00716.91
8.0.00.0030.01316.54
7.4.330.0000.00515.55
7.4.320.0000.00716.46
7.4.300.0000.00616.39
7.4.290.0000.00716.56
7.4.280.0000.00816.43
7.4.270.0040.00416.47
7.4.260.0080.00016.41
7.4.250.0030.00316.43
7.4.240.0040.00416.38
7.4.230.0000.00716.64
7.4.220.0130.00616.41
7.4.210.0060.00816.43
7.4.200.0030.00316.47
7.4.160.0160.00316.40
7.4.150.0030.01417.40
7.4.140.0060.01317.86
7.4.130.0090.00916.48
7.4.120.0100.00816.45
7.4.110.0060.01216.56
7.4.100.0120.00916.59
7.4.90.0100.00616.32
7.4.80.0130.00619.39
7.4.70.0110.01116.37
7.4.60.0120.00316.38
7.4.50.0060.01016.38
7.4.40.0110.00616.38
7.4.30.0120.00616.48
7.4.00.0050.01015.02
7.3.330.0030.00313.31
7.3.320.0020.00213.29
7.3.310.0000.00716.15
7.3.300.0060.00316.13
7.3.290.0070.00916.20
7.3.280.0070.00816.19
7.3.270.0090.00917.40
7.3.260.0150.01116.41
7.3.250.0110.00616.48
7.3.240.0020.01516.43
7.3.230.0110.00816.34
7.3.210.0110.00716.24
7.3.200.0030.01916.54
7.3.190.0060.00916.31
7.3.180.0140.00716.36
7.3.170.0070.01016.40
7.3.160.0060.01016.29
7.3.120.0070.00714.71
7.3.110.0030.01414.63
7.3.100.0060.00914.73
7.3.90.0060.00915.00
7.3.80.0030.01315.05
7.3.70.0070.00314.72
7.3.60.0090.00614.78
7.3.50.0070.00714.79
7.3.40.0080.00414.41
7.3.30.0030.01014.83
7.3.20.0090.00616.60
7.3.10.0070.00416.62
7.3.00.0070.00716.55
7.2.330.0070.01016.65
7.2.320.0060.01116.47
7.2.310.0090.00816.79
7.2.300.0100.00616.64
7.2.290.0110.00516.73
7.2.250.0100.01015.07
7.2.240.0030.01314.75
7.2.230.0110.00414.87
7.2.220.0000.01514.97
7.2.210.0060.01315.13
7.2.200.0030.01014.98
7.2.190.0090.00615.02
7.2.180.0000.01314.64
7.2.170.0000.01214.75
7.2.60.0060.00616.95
7.2.00.0040.00819.22
7.1.330.0090.00615.63
7.1.320.0040.01115.85
7.1.310.0090.00915.84
7.1.300.0090.00315.36
7.1.290.0040.00415.67
7.1.280.0030.01315.91
7.1.270.0110.00315.93
7.1.260.0100.00715.50
7.1.200.0080.00415.51
7.1.100.0080.01118.28
7.1.70.0030.01016.93
7.1.60.0700.01033.13
7.1.50.0570.01032.77
7.1.40.0530.00732.57
7.1.30.0470.01332.48
7.1.20.0570.01032.63
7.1.10.0400.00714.58
7.1.00.0270.01314.66
7.0.200.0330.01314.72
7.0.190.0430.00014.59
7.0.180.0500.00014.40
7.0.170.0570.01314.24
7.0.160.0400.01014.57
7.0.150.0470.01714.28
7.0.140.0400.01014.46
7.0.130.1100.01014.70
7.0.120.0300.01314.79
7.0.110.0330.01014.23
7.0.100.0300.01314.67
7.0.90.0330.01014.29
7.0.80.0730.01014.66
7.0.70.0470.00714.29
7.0.60.0470.00014.30
7.0.50.0500.01014.24
7.0.40.0430.00714.44
7.0.30.0500.01014.52
7.0.20.0630.00714.75
7.0.10.0500.00714.44
7.0.00.0430.01014.52

preferences:
44.25 ms | 401 KiB | 5 Q