3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = (string) true; var_dump($var);

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.5.10.0100.00916.66
8.5.00.0120.01019.90
8.4.150.0020.00014.05
8.4.140.0190.00917.45
8.4.130.0040.00417.61
8.4.120.0130.00622.54
8.4.110.0040.00420.43
8.4.100.0140.00717.88
8.4.90.0100.01017.74
8.4.80.0020.00620.72
8.4.70.0030.00517.67
8.4.60.0110.00917.66
8.4.50.0080.00818.71
8.4.40.0140.00317.27
8.4.30.0090.00618.92
8.4.20.0060.01017.76
8.4.10.0060.00319.35
8.3.280.0110.01020.13
8.3.270.0110.00716.29
8.3.260.0090.00916.29
8.3.250.0090.01018.88
8.3.240.0100.00916.32
8.3.230.0110.00916.57
8.3.220.0110.00816.96
8.3.210.0130.00716.65
8.3.200.0120.00618.71
8.3.190.0100.00816.74
8.3.180.0100.00916.50
8.3.170.0160.00318.72
8.3.160.0150.00316.48
8.3.150.0090.00918.22
8.3.140.0090.00016.99
8.3.130.0080.00018.54
8.3.120.0060.00318.67
8.3.110.0070.00420.94
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0090.00017.97
8.3.70.0100.00318.56
8.3.60.0070.00718.31
8.3.50.0120.00916.57
8.3.40.0090.00621.86
8.3.30.0180.00618.73
8.3.20.0080.00024.18
8.3.10.0070.00024.66
8.3.00.0030.00626.16
8.2.290.0110.00820.16
8.2.280.0040.00418.52
8.2.270.0050.00317.32
8.2.260.0180.00016.43
8.2.250.0050.00316.55
8.2.240.0100.00716.98
8.2.230.0040.00422.58
8.2.220.0000.00737.54
8.2.210.0090.00626.77
8.2.200.0060.00316.38
8.2.190.0180.00416.58
8.2.180.0100.00316.63
8.2.170.0140.00018.79
8.2.160.0030.01022.96
8.2.150.0090.00025.66
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00620.77
8.2.110.0110.01122.24
8.2.100.0150.00620.58
8.2.90.0130.00720.69
8.2.80.0160.00620.38
8.2.70.0140.00420.32
8.2.60.0120.00620.35
8.2.50.0040.01820.38
8.2.40.0070.01320.39
8.2.30.0100.00720.43
8.2.20.0080.00820.43
8.2.10.0060.00320.43
8.2.00.0030.00720.26
8.1.330.0100.00816.85
8.1.320.0100.00716.05
8.1.310.0050.00318.56
8.1.300.0070.00417.91
8.1.290.0040.00430.84
8.1.280.0090.00625.92
8.1.270.0070.00024.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0110.01120.28
8.1.230.0030.00720.27
8.1.220.0070.01520.27
8.1.210.0190.00321.53
8.1.200.0070.01420.16
8.1.190.0000.01120.16
8.1.180.0070.01120.09
8.1.170.0170.00020.14
8.1.160.0070.01020.28
8.1.150.0130.00920.01
8.1.140.0040.01420.27
8.1.130.0100.00720.10
8.1.120.0110.00720.20
8.1.110.0100.00720.20
8.1.100.0070.00320.20
8.1.90.0070.01120.29
8.1.80.0080.00320.34
8.1.70.0040.00820.23
8.1.60.0000.01120.33
8.1.50.0030.00720.41
8.1.40.0100.00020.20
8.1.30.0100.00020.53
8.1.20.0030.00720.52
8.1.10.0000.01120.21
8.1.00.0040.00820.10
8.0.300.0030.00619.65
8.0.290.0030.00619.48
8.0.280.0060.00319.69
8.0.270.0060.00319.69
8.0.260.0000.01019.64
8.0.250.0030.00619.73
8.0.240.0040.00419.69
8.0.230.0060.00319.61
8.0.220.0110.00019.67
8.0.210.0030.00619.71
8.0.200.0030.00619.70
8.0.190.0080.00019.75
8.0.180.0060.00319.63
8.0.170.0090.00019.74
8.0.160.0030.00619.70
8.0.150.0070.00319.58
8.0.140.0000.01019.62
8.0.130.0060.00319.73
8.0.120.0060.00319.45
8.0.110.0060.00319.99
8.0.100.0000.00919.73
8.0.90.0030.00619.64
8.0.80.0060.00319.66
8.0.70.0060.00319.76
8.0.60.0030.00619.70
8.0.50.0030.00619.81
8.0.30.0000.00919.73
8.0.20.0030.00619.87
8.0.10.0090.00020.00

preferences:
36.55 ms | 403 KiB | 5 Q